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.

Word.dot file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill - 06 Apr 2004 05:22 GMT
I am pulling fields from my custom Task form into a .dot
file.  I am successful with all except the notes field.  
It has no value assigned to it.  It's the same notes field
used in the standard Task form.  What is the value I
should use to access it?

Thank you,
Bill
Sue Mosher [MVP-Outlook] - 06 Apr 2004 06:22 GMT
It's the Body property. Use the Bookmark.InsertAfter method to insert it
into your Word document.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> I am pulling fields from my custom Task form into a .dot
> file.  I am successful with all except the notes field.
[quoted text clipped - 4 lines]
> Thank you,
> Bill
Bill - 07 Apr 2004 06:31 GMT
Like this:  

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

this did not work. Please help.  Sorry, I'm a beginner!

-Bill

>-----Original Message-----
>It's the Body property. Use the Bookmark.InsertAfter method to insert it
[quoted text clipped - 10 lines]
>
>.
Sue Mosher [MVP-Outlook] - 07 Apr 2004 13:54 GMT
What specifically doesn't work? Do you get any error messages? Do you have a
bookmark named Body?

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Like this:
>
[quoted text clipped - 8 lines]
> method to insert it
> >into your Word document.

> >"Bill" <anonymous@discussions.microsoft.com> wrote in
> message
[quoted text clipped - 10 lines]
> >
> >.
Bill - 07 Apr 2004 20:34 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 for your help. --Bill

>-----Original Message-----
>What specifically doesn't work? Do you get any error messages? Do you have a
[quoted text clipped - 29 lines]
>
>.
Ken Slovak - [MVP - Outlook] - 06 Apr 2004 13:58 GMT
For all Outlook items use .Body for the Notes field.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> I am pulling fields from my custom Task form into a .dot
> file.  I am successful with all except the notes field.
[quoted text clipped - 4 lines]
> Thank 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



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