Tuesday, December 26, 2006

MSWORD: Macro for Document Map

Word Macro to toggle Document Map using [control - D]. You can map this macro with [control-D] and then can hide/unhide document map using [control-D]. Remember that document maps are major reason for crash while saving doc, so take care that you unhide it while saving docs.

Sub DocumentMap()

If (ActiveWindow.DocumentMap) Then
ActiveWindow.DocumentMap = False
Else
ActiveWindow.DocumentMap = True
End If

End Sub

No comments:

Post a Comment