macro toggle

B

brinded

I've got a very simple macro to switch on 'Navigation Pane' from view
menu:

Sub Nav()
'
' Nav Macro
' Macro recorded 6/20/08 by Robert Paulson
'
ActiveWindow.DocumentMap = True
End Sub



Is there an easy way to make this toggle true/false so that I don't
have to record another macro to turn it off again?

thanks
 
D

Daiya Mitchell

There is a built-in command for this in Word. You can drag it onto a
toolbar or assign a keyboard shortcut to it, and it should toggle
automatically, without requiring a macro at all. Try that.

Toolbar--it's called Navigation Pane, and you have to look under the
VIEW column.
Keyboard--it's called ViewDocumentMap and it is under the VIEW column
and also ALL COMMANDS.
More detailed instructions, sort of:
http://word.mvps.org/Mac/CustomizeToolbars.html
 

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