Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2005

Tip: Looking for answers? Try searching our database.

Transferring Bookmark Contents Between Files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vicw - 23 Jun 2005 13:39 GMT
I have a Form Template that I distribute for use by our sales force.  They
complete the form and  return, but also keep a copy for future use when
creating documents for the same customer.  The template allows them to open a
document and re-use the content.

The problem comes when the template is updated and new fields (and
bookmarks) are added.  The "old" forms become useless unless I can get the
contents of the bookmarks from the "old" docs to a new doc created from the
updated template.

I am limited to using Word 2003 VBA.  What is the best way to handle this
problem?
Signature

Thanks in advance!

Helmut Weber - 24 Jun 2005 01:57 GMT
Hi,

there are two kinds of bookmarks.
Ones that look like !bookmark, others that look like [bookmark].
Both have a range.text. But the range of the first kind is empty.
The text of the second kind is bookmark("Mark1").range.text, e.g.

Greetings from Bavaria, Germany

Helmut Weber, MVP, WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.