![]() |
#1
|
|||
|
|||
![]()
Is it possible to make a button that I draw with the mouse and assign it to a macro that can name the file based on a content control plain text box with the current date and time, also in the file name, then save it to a specific folder location? Could someone help me with the VBA to get this done? The plain text box will have a name so the file name would look something like this for example:
Smith,John_10-13-2022_102036.docm The content control plain text box will have "John Smith" then date will pull from the computer and "102036" is the current time the file is saved which represents 10:20:36PM since I don't think colons are accepted in a file name. I have been able to do this with Excel but I am not familiar with Word as I am very much a beginner in Word. Thanks for the help. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to save Word file by field name as filename using VBA button? | TribeBuckeyeFan | Word VBA | 4 | 02-02-2017 05:58 AM |
![]() |
chemtoli | Word VBA | 5 | 01-25-2017 08:06 AM |
Save and rename attachments from ZIP FILE | AndyDDUK | Outlook | 1 | 03-03-2016 12:32 AM |
![]() |
intelli | Excel | 3 | 03-27-2014 11:53 PM |
![]() |
d4okeefe | Word VBA | 4 | 05-23-2013 09:35 AM |