Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i need a macro that enters todays date into whatever cell is selected.
i tried a formula but it updates everyday. so i need it to stay on the date entered thank you |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
choice, here is on way
Sub todays_date() ActiveCell = Date End Sub -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2000 & 2003 ** remove news from my email address to reply by email ** "choice" wrote in message ... i need a macro that enters todays date into whatever cell is selected. i tried a formula but it updates everyday. so i need it to stay on the date entered thank you |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
choice
Are you sure you want a date entered into "whatever cell is selected"? This could lead to a lotta cells with a date entered. This would require Event code and may not be what you desire. To enter a static date into a cell you can use CRTL + ;(semi-colon) Macro to enter a date in a cell when you run the macro via button or shortcut key combo. Sub NOWDATE() ActiveCell.Value = Format(Date, "dd-mmm-yy") End Sub Gord Dibben Excel MVP On Sat, 21 Aug 2004 10:13:01 -0700, choice wrote: i need a macro that enters todays date into whatever cell is selected. i tried a formula but it updates everyday. so i need it to stay on the date entered thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
is there a formula that will subtract todays date from a hire date | Excel Worksheet Functions | |||
Can I automatically have a cell enter todays date + 45 dyas | Excel Discussion (Misc queries) | |||
Exel increment date problem wrt todays date. | Excel Worksheet Functions | |||
Create a button that will date stamp todays date in a cell | Excel Discussion (Misc queries) | |||
When I open my past invoice it keeps changing date to todays date | Excel Worksheet Functions |