Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to create a button that when clicked will enter todays date in the
selected cell. Basically a date stamp button. I tried doing a macro but it did not work for me. I know the shortcut of ctrl+; to enter a date but I have others using the worksheet. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Create a button from the Forms command bar, and assign to it the
following macro: Sub TimeStamp() ActiveCell.Value = Int(Now) End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Tom Meacham" wrote in message ... I want to create a button that when clicked will enter todays date in the selected cell. Basically a date stamp button. I tried doing a macro but it did not work for me. I know the shortcut of ctrl+; to enter a date but I have others using the worksheet. Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
or just
ActiveCell.Value = Date <vbg Chip Pearson wrote: Create a button from the Forms command bar, and assign to it the following macro: Sub TimeStamp() ActiveCell.Value = Int(Now) End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Tom Meacham" wrote in message ... I want to create a button that when clicked will enter todays date in the selected cell. Basically a date stamp button. I tried doing a macro but it did not work for me. I know the shortcut of ctrl+; to enter a date but I have others using the worksheet. Thanks -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Or if you wanted to put the date in several cells......<G
Selection.Value = Date Vaya con Dios, Chuck, CABGx3 "Dave Peterson" wrote in message ... or just ActiveCell.Value = Date <vbg Chip Pearson wrote: Create a button from the Forms command bar, and assign to it the following macro: Sub TimeStamp() ActiveCell.Value = Int(Now) End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Tom Meacham" wrote in message ... I want to create a button that when clicked will enter todays date in the selected cell. Basically a date stamp button. I tried doing a macro but it did not work for me. I know the shortcut of ctrl+; to enter a date but I have others using the worksheet. Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
run a macro in a locked cell | Excel Discussion (Misc queries) | |||
How to put todays date in one cell then the next cell adds x days | Excel Discussion (Misc queries) | |||
HELP - Date Range In 1 Cell Calculation | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions | |||
Using formulas to determine date in one cell based on date in anot | Excel Worksheet Functions |