I have multiple windows open on one file. I want to store the active window in a variable and then be able to call it later, and i can't figure out how to do it. Here's what i tried.
Do you understand my question? Is there a way to make it work?Dim iVar1 as Object Set iVar1 = ActiveWindow Windows (iVar1).Activate
Last edited by VBA Noob; 11-16-2008 at 04:58 PM. Reason: Added code tags as per forum ruls
Almost there
Dim iVar1 As Object Set ivar1 = ActiveWindow iVar1.Activate
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks