Hi,
Quote:
|
But then in my access file, I create a hyperlink
|
This makes a little more sense now: you are opening the file via a hyperlink from another application. Speaking from my own experience, a restored window state on the target file is standard (by design) behaviour for hyperlinks?
Quote:
|
So, to be very clear, with the excel file in question, I created/saved as a new file, READ-ONLY. And I opened it many times, and every time, it opened up as I last closed it. And then a couple of times in max size at the end.
|
I think you know this, but just to emphasise the point: the window state of the opened file is determined by the window state of the
previously closed file - it is not determined by the window state of
that file when it was last closed. In this scenario it is just coincidence that the last closed file happens to be the one you are opening, so the two are the same. Of course, as you have observed, hyperlinks override this.
Quote:
|
And it gets weirder. Now, going back to the windows folder, if I try opening it up from there, it now opens THE SAME WAY as the access form hyperlink, no matter if I maxed the window in the last view before closing.
|
Via MS Access, the file was opened and closed in a restored state. Since the last closed file's window was restored, the next file that is opened in that Excel instance will also be restored, which is what I think you are seeing here.
I don't know how to change the hyperlink behaviour to open files in a maximised state, but the good news is that there are some workarounds.

Here are two options:
[1] Rather than using a hyperlink, open the file via another means. eg. MS Access VBA code behind a control.
[2] Add a Workbook_Open() event handler into your read-only workbook which maximises the workbook window when it is opened. eg.
Code:
Private Sub Workbook_Open()
If Not ProtectWindows Then Windows(1).WindowState = xlMaximized
End Sub
Hope that helps...