Window Switching

B

Brian Henkel

I did this a while ago in Word 2003 and left the code at my previous job. I put it back together based on what y'all had posted. It isn't a toggle but a cycler.

Sub WindowSwitch()

' WindowSwitch Macro

If Windows.Count > 1 And ActiveWindow.Index < Windows.Count Then
ActiveWindow.Next.Activate
Else
Windows(1).Activate
End If

End Sub

I assign this to ctrl` so that it is similar to switching windows/tabs in many other programs. Unfortunately you can't use ctrl-tab.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top