Solved

VBA To find all Bookmarks in a word doc & Display Individually in a text box

Posted on 2008-10-06
1
1,020 Views
Last Modified: 2008-10-14
Hey all.

Ive been mucking around making code. that searches through bookmarks in a word document

I was originally doing it via using default bookmark names

    Bookmark = "bookmark" & i
   
    ActiveDocument.Bookmarks(Bookmark).Select
    TextBox1 = Selection.FormattedText

but i need my code to find a bookmark regardless of name.

I was toggling forward and backward on book marks using the i to +1 and -1. But cant use that if im going to have custom bookmark names.
0
Comment
Question by:infusion69
[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
1 Comment
 
LVL 4

Accepted Solution

by:
Mitzs earned 50 total points
ID: 22661038
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

729 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