Report Offensive Message

Macro limited to currrent document
The macro proposed in this article is limited to the currently active document. On the other hand, if you create the macros by recording the actions that have the same effect, you can assign the macro to normal.dot and have them available in any document. For example, I recorded these 2 macros:

Sub BookmarkTemp_Insert()
'
' BookmarkTemp_Insert Macro
'
With ActiveDocument.Bookmarks
.Add Range:=Selection.Range, Name:=" Temp_Bookmark"
.DefaultSorting = wdSortByName
.ShowHidden = False
End With

End Sub


Sub BookmarkTemp_ReturnTo()
'
' BookmarkTemp_ReturnTo Macro
'
Selection.GoTo What:=wdGoToBookmark, Name:=" Temp_Bookmark"
With ActiveDocument.Bookmarks
.DefaultSorting = wdSortByName
.ShowHidden = False
End With

End Sub
Posted by uri1090
14th Jun