Solved

VBA Bookmark Macro

Posted on 2013-01-24
2
497 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Index Match Vlook up for a master file 7 58
Word 2010 mail merge 3 61
Word 2016 - Comments on one page contracted 2 45
Surface Book vs Surface Pro 4 55
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now