?
Solved

VBA Bookmark Macro

Posted on 2013-01-24
2
Medium Priority
?
514 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 2000 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

Independent Software Vendors: 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

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
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…
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…
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

777 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