Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Insert yesterday's date (Autotext)
I have a group of users that want to be able to type in yesterday's date by
using a short-cut key. Does anyone have a way of doing that? Before I explain that it isn't possible, I want to check with some 'experts'. Thank you for your time. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Insert yesterday's date (Autotext)
You could create a subroutine and then assign a shortcut key combination to
call the macro. A routine like the following would do the trick. Sub DateYesterday() Selection.TypeText Format$(Now() - 1, "mmm dd, yyyy") End Sub Steve "rrupp" wrote in message ... I have a group of users that want to be able to type in yesterday's date by using a short-cut key. Does anyone have a way of doing that? Before I explain that it isn't possible, I want to check with some 'experts'. Thank you for your time. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Insert yesterday's date (Autotext)
Thank you so much!
"Steve Yandl" wrote: You could create a subroutine and then assign a shortcut key combination to call the macro. A routine like the following would do the trick. Sub DateYesterday() Selection.TypeText Format$(Now() - 1, "mmm dd, yyyy") End Sub Steve "rrupp" wrote in message ... I have a group of users that want to be able to type in yesterday's date by using a short-cut key. Does anyone have a way of doing that? Before I explain that it isn't possible, I want to check with some 'experts'. Thank you for your time. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to suppress autotext US date format after typing current year | Microsoft Word Help | |||
The insert auto text for the date is not working | Microsoft Word Help | |||
Setting default headers and fonts in a template | Microsoft Word Help | |||
insert a future date | Microsoft Word Help | |||
insert a future date | Microsoft Word Help |