Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I want a macro to run after the user closes a User Form but I want it
to include the current date with the file name. This is what I have so far: Private Sub NoticeAccept_Click() UserForm3.Hide ActiveDocument.SaveAs FileName:="Schedule Change Request" End Sub I want to include the day's date after the file name: "Schedule Change Request 07-18-06" Thank you! |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hi Jlawson,
I want a macro to run after the user closes a User Form but I want it to include the current date with the file name. This is what I have so far: Private Sub NoticeAccept_Click() UserForm3.Hide ActiveDocument.SaveAs FileName:="Schedule Change Request" End Sub I want to include the day's date after the file name: "Schedule Change Request 07-18-06" FileName:="Schedule Change Request " & Format(Date, "mm-dd-yy") Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Thank you for your help Cindy! It's working great now
Cindy M -WordMVP- wrote: Hi Jlawson, I want a macro to run after the user closes a User Form but I want it to include the current date with the file name. This is what I have so far: Private Sub NoticeAccept_Click() UserForm3.Hide ActiveDocument.SaveAs FileName:="Schedule Change Request" End Sub I want to include the day's date after the file name: "Schedule Change Request 07-18-06" FileName:="Schedule Change Request " & Format(Date, "mm-dd-yy") Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Printing a current page in MS Word | Microsoft Word Help | |||
Auto add Name & date to a document save name | New Users | |||
save weekly meeting minutes in date order in a word folder | Microsoft Word Help | |||
add days to the current date. | Microsoft Word Help | |||
How do I insert a current date in a template and then keep this i. | Microsoft Word Help |