![]() |
|
|
|
#1
|
|||
|
|||
|
Thanks Charles,
I am a bit confused, I have created a template (Template Letter One) pasted your code changed the contentControl to Name and have Letter One in the title in Properties when I saveAs it will use the text in the title within the properties. On the Template Letter two is an example of what I a trying to achieve: when entering Name & Surname & StaffNumber & Date the document should be saved as: Name Surname StaffNumber Date Letter Two Where Name and surname and staff number are retireved by the controls text the date is retrieved from the date control and should be in the format YYYYMMDD and finaly the title from the title properties of the document. On a different note where is the above code stored? I was trying to find it when I open the document under VB but cannot find it!
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Save Document as Text File | gerison | Word VBA | 5 | 11-27-2017 07:15 AM |
| Vba code to save document as pdf using document property text and rename folder. | staicumihai | Word VBA | 1 | 12-21-2015 07:39 AM |
Macro for word to add page break and specific text to end of document
|
pizzaman1 | Word VBA | 6 | 11-14-2014 11:25 PM |
Delete specific mass text on document
|
JadeRisley | Word | 4 | 07-17-2013 11:11 PM |
Deleteing specific text in word document
|
ubns | Word | 1 | 05-31-2012 10:38 PM |