Solved

VBA Bookmark Macro

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

A Knowledge Base That Stays Up-to-Date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

708 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

16 Experts available now in Live!

Get 1:1 Help Now