Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy bookmark to another document | Microsoft Word Help | |||
My noteref to valid bookmark says "Error! Bookmark not defined."? | Microsoft Word Help | |||
The Insert Bookmark box shouldnt vanish after adding a bookmark. | Microsoft Word Help | |||
show bookmark names in document | Microsoft Word Help | |||
open a document from a hyperlink at a bookmark | Microsoft Word Help |