[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 533
  • Last Modified:

VBA Bookmark Macro

Hello,

I have a macro that inserts a logo into an absolute postion on a documnet (top right corner).
Before inserting this logo I need to place the curser at the start of the document (I have a bookmark at the start called "start") - I need some simple VBA that takes the curser to a bookmark.

FYI - Some of my docs start with tables which messes up the logo positioning so I need the curser to start above the table before inserting the logo
0
sbsbats
Asked:
sbsbats
1 Solution
 
Chris BottomleyCommented:
Have you tried the built in bookmark for start of document i.e:

Selection.GoTo What:=wdGoToBookmark, Name:="\StartOfDoc"

Chris
0
 
sbsbatsAuthor Commented:
legend - thats what I did
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now