Using openform in .Initialize seems pretty cranky. Help says
By default, the form will open in the same location it was in the last time it was opened. To specify the size and location of the new window in advance, use the setwindowrectangle, setwindow, or windowbox statements.
but my experience is that the default appears to often override the parameters in openform and setwindowrectangle by opening the form as it was when the file was last used rather than according to the parameters in these statements in .Initialize. Admittedly after a number of file openings the settings in the statements seem to take over but it’s a bit of a hit or miss process.
I can’t find a mention of this in the forum or Bitbucket and wonder if this is common.
Thanks, Michael. When I searched for “openform” I found very few posts and was too lazy to think of a way of describing the issue in a couple of words. I will do better in future!
In fact, as Jim points out, it isn’t an .Initialize issue.