The RunCommand acCmdSizeToFitForm will produce errors when used in a form's OnOpen Event but it seems to run fine if used in the form's OnActivate Event. Thanks to Kate McDonald for this information.
It would appear to work properly in the Load event as well. Thanks to Kris Van Dijck for this information.