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 / Outlook / Programming Forms / April 2004

Tip: Looking for answers? Try searching our database.

Bookmark problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill - 09 Apr 2004 03:13 GMT
Sue,

I get an error message having to do with the bookmark.  I
am following your example Ch22 Equipment Repair Request
Print Word.oft.  You use this line:

   objDoc.Bookmarks("Details").Range.InsertAfter
Item.Body

for the Additional Details field of your form.  There is
no bookmark in the .dot file named Details but it works
in your example.

I am trying to do the same thing but using the Notes
field from Task and I get an error.  I think in this
command:

objDoc.Bookmarks("Body").Range.InsertAfter Item.Body

I must have the "Body" incorrect.  Perhaps it is another
word.

Thanks you. --Bill
Patricia Cardoza - [MVP Outlook] - 09 Apr 2004 21:06 GMT
Even though it's called a "Bookmark" it's really just a field on the Word
Doc. Do you have a field on your Word doc named "Body"?

Signature

Patricia Cardoza
Outlook MVP
www.cardozasolutions.com

Author, Special Edition Using Microsoft Outlook 2003
Author, Absolute Beginner's Guide to OneNote 2003

***Please post all replies to the newsgroups***

> Sue,
>
[quoted text clipped - 19 lines]
>
> Thanks you. --Bill
Joel - 09 Apr 2004 22:28 GMT
No, I don't.

But in Sue's Chapter 22 example, she called out this:

objDoc.Bookmarks("Details").Range.InsertAfter
Item.Body

and she had no "details" bookmark.

Thanks for your help - Joel

> Even though it's called a "Bookmark" it's really just a field on the Word
> Doc. Do you have a field on your Word doc named "Body"?
[quoted text clipped - 22 lines]
> >
> > Thanks you. --Bill
Patricia Cardoza - [MVP Outlook] - 09 Apr 2004 23:02 GMT
Right, she had a field called Details in her Word doc.

Signature

Patricia Cardoza
Outlook MVP
www.cardozasolutions.com

Author, Special Edition Using Microsoft Outlook 2003
Author, Absolute Beginner's Guide to OneNote 2003

***Please post all replies to the newsgroups***

> No, I don't.
>
[quoted text clipped - 33 lines]
> > >
> > > Thanks you. --Bill
 
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



©2009 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.