Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
is there a way for a macro to insert the current year
into a cell. i have some formulas that calculate holidays from an excel book, and they all have to refer back to a cell containing the year. however when i tried to put in a function such as =TODAY() in a cell and formatted it as custom "yyyy" it still displays 1/13/04 and the formulas return a #NUM error. so i think a macro might be able to just input "2004" into a cell somehow. i have been playing with some VBA functions, but i am sure that it is just something i havent learned yet. TIA...spence |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Current year and current week number | Excel Discussion (Misc queries) | |||
Always show Jan of current year | Excel Worksheet Functions | |||
Finding the current year | Excel Worksheet Functions | |||
Combination Graph with current year and prior year sales | Charts and Charting in Excel | |||
How to compare current year to prior year in bar chart? | Charts and Charting in Excel |