Solved

VBA Bookmark Macro

Posted on 2013-01-24
2
506 Views
Last Modified: 2013-01-30
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
Comment
Question by:sbsbats
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 500 total points
ID: 38817590
Have you tried the built in bookmark for start of document i.e:

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

Chris
0
 

Author Comment

by:sbsbats
ID: 38836768
legend - thats what I did
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question