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.
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.