word bookmarks 
Author Message
 word bookmarks

Hi all,

I have a word template that contains bookmarks. When a form is filled in and
submitted, the template's bookmarks get populated with the information from
the form. The user then saves this info as a new document. Now, when i open
a word document that has already been created (ie. bookmarks are filled in),
I want to go to each bookmark and suck out the info and put it back into the
form and also delete anything after each bookmark. Is there an easy way to
do this?

Thanks,
Sean



Sun, 30 Jan 2005 13:46:37 GMT  
 word bookmarks
Hi Sean,

There is if the code doing the inserting retains the bookmarks? Are they still
there? Can you change the code, if they're not?

Quote:
> I have a word template that contains bookmarks. When a form is filled in and
> submitted, the template's bookmarks get populated with the information from
> the form. The user then saves this info as a new document. Now, when i open
> a word document that has already been created (ie. bookmarks are filled in),
> I want to go to each bookmark and suck out the info and put it back into the
> form and also delete anything after each bookmark. Is there an easy way to
> do this?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)



Sun, 30 Jan 2005 15:20:49 GMT  
 word bookmarks
Yes, the bookmarks are still present at that point.



Quote:
> Hi Sean,

> There is if the code doing the inserting retains the bookmarks? Are they
still
> there? Can you change the code, if they're not?

> > I have a word template that contains bookmarks. When a form is filled in
and
> > submitted, the template's bookmarks get populated with the information
from
> > the form. The user then saves this info as a new document. Now, when i
open
> > a word document that has already been created (ie. bookmarks are filled
in),
> > I want to go to each bookmark and suck out the info and put it back into
the
> > form and also delete anything after each bookmark. Is there an easy way
to
> > do this?

> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister
> http://www.mvps.org/word
> http://go.compuserve.com/MSOfficeForum

> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)



Mon, 31 Jan 2005 00:46:51 GMT  
 word bookmarks
Hi Sean,

OK, I see I neglected to ask whether this is a form with form fields, or with
just plain bookmarks. But you need either

ActiveDocument.Formfields("Name").Result

or

ActiveDocument.Bookmarks("name").Range.Text

You might find this article useful. Note that you have to sign up for a (free,
one-month trial subscription) to access these archives:
http://www.msofficemag.net/features/2001/02/vba200102cm_f/vba200102cm...

Quote:
> Yes, the bookmarks are still present at that point.
> > There is if the code doing the inserting retains the bookmarks? Are they
> still
> > there? Can you change the code, if they're not?

> > > I have a word template that contains bookmarks. When a form is filled in
> and
> > > submitted, the template's bookmarks get populated with the information
> from
> > > the form. The user then saves this info as a new document. Now, when i
> open
> > > a word document that has already been created (ie. bookmarks are filled
> in),
> > > I want to go to each bookmark and suck out the info and put it back into
> the
> > > form and also delete anything after each bookmark. Is there an easy way
> to
> > > do this?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)



Mon, 31 Jan 2005 15:07:10 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Import Data from word bookmarks using sql?

2. Go to Word Bookmark

3. WORD bookmark not printing VB text only on some PC's

4. Updating word bookmarks

5. Please help with text box to Word bookmark problem

6. Word - Bookmarks

7. Word Bookmarks, Userforms and Updates

8. word bookmarks

9. Word Bookmarks

10. word bookmarks

11. Please help with text box to word bookmark

12. Converting Word BookMarks to PDF Files

 

 
Powered by phpBB® Forum Software