Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
A_Classic_Man A_Classic_Man is offline
external usenet poster
 
Posts: 5
Default Use bookmark as document title

I have a word document that has bookmarks. The bookmarks are filled
with data and the document is sent as an email attachment to other
users. Is it possible to have the information in one of the bookmarks
to be used as the document title so when the email is received the
document title is displayed as the name of email attachment? Word
2003 is the version I am using.

Thanks
Ron
  #2   Report Post  
Posted to microsoft.public.word.newusers
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Use bookmark as document title

Runing a macro with the following code will save the document with the name
entered into the bookmark "nameofbookmarkthatyouwantusedasfilename"

With ActiveDocument
.SaveAs .Bookmarks("nameofbookmarkthatyouwantusedasfilenam e").Range.Text
End With

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"A_Classic_Man" wrote in message
...
I have a word document that has bookmarks. The bookmarks are filled
with data and the document is sent as an email attachment to other
users. Is it possible to have the information in one of the bookmarks
to be used as the document title so when the email is received the
document title is displayed as the name of email attachment? Word
2003 is the version I am using.

Thanks
Ron



  #3   Report Post  
Posted to microsoft.public.word.newusers
A_Classic_Man A_Classic_Man is offline
external usenet poster
 
Posts: 5
Default Use bookmark as document title

On Apr 12, 5:30*pm, "Doug Robbins - Word MVP"
wrote:
Runing a macro with the following code will save the document with the name
entered into the bookmark "nameofbookmarkthatyouwantusedasfilename"

With ActiveDocument
* * .SaveAs .Bookmarks("nameofbookmarkthatyouwantusedasfilenam e").Range.Text
End With

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"A_Classic_Man" wrote in message

...



I have a word document that has bookmarks. The bookmarks are filled
with data and the document is sent as an email attachment to other
users. Is it possible to have the information in one of the bookmarks
to be used as the document title so when the email is received the
document title is displayed as the name of email attachment? *Word
2003 is the version I am using.


Thanks
Ron- Hide quoted text -


- Show quoted text -


Doug

Sorry about the long pause. Other things to deal with.

When I try your solution, the label of the email attachment shows as
the name of the word document.

Let me explain better what I am doing. I have an Access form with
fields. The field data is sent to a Word document with bookmarks by VB
code. The Word document is then emailed to persons who complete
additional bookmarks on the document and email the document back to
the sender. Then the data is placed into the Access data base. The
Word document does not need be saved.

Any additional help is apreciated and again sorry for the long pause.

Ron
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy bookmark to another document JasonC Microsoft Word Help 1 October 31st 07 09:20 AM
My noteref to valid bookmark says "Error! Bookmark not defined."? jchilders_98 Microsoft Word Help 3 October 5th 06 02:23 PM
The Insert Bookmark box shouldnt vanish after adding a bookmark. RogerKni Microsoft Word Help 4 September 26th 06 03:13 PM
show bookmark names in document Beth Mc Microsoft Word Help 3 December 1st 05 09:55 AM
open a document from a hyperlink at a bookmark Greg Microsoft Word Help 1 September 15th 05 09:43 AM


All times are GMT +1. The time now is 02:39 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"