I'm having trouble hiding some Excel windows.
I'm using the following code to hide a window:
![]()
Please Login or Register to view this content.
It keeps throwing "subscript out of range" errors at me and I can't figure out why.
The filename is correct, so is the extension. I've used a MsgBox to tell me the caption of the window which also shows up the way I have typed it.
I have a macro, in another workbook, which opens this file automatically, but I can't set the Visible property for the Window.#
Ideas anyone?
Bookmarks