Is there a way to create a macro in write that will allow me to mark a current location, move to another page to look something up, and then return to the previously marked location in the document.
Clarify where you are trying to write - Writer, Calc… ?
Sorry, I need this for Writer.
Try this - assuming you have a bookmark named “Bookmark 1” from Insert Menu → Bookmark
Sub writer_bookmark()
ViewCursor = ThisComponent.CurrentController.getviewCursor()
Bookmark = ThisComponent.Bookmarks.getByName("Bookmark 1").Anchor
ViewCursor.gotorange(Bookmark, False)
End Sub