Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
prob with TODAY() within a macro
y this today() function is giving me an error when it is run within teh macro?
what should i include Sub FTPmacro() Cells(1, 10).value = TODAY() - Weekday(TODAY() + 1, 1) + 7 end sub |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
prob with TODAY() within a macro
Use Date in VBA
-- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "deepika :excel help" schreef in bericht ... y this today() function is giving me an error when it is run within teh macro? what should i include Sub FTPmacro() Cells(1, 10).value = TODAY() - Weekday(TODAY() + 1, 1) + 7 end sub |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
prob with TODAY() within a macro
In VBA, use "Date" rather than "Today()"
Regards Fred "deepika :excel help" wrote in message ... y this today() function is giving me an error when it is run within teh macro? what should i include Sub FTPmacro() Cells(1, 10).value = TODAY() - Weekday(TODAY() + 1, 1) + 7 end sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
vlookup prob with all #n/a's | Excel Discussion (Misc queries) | |||
Macro Prob | Excel Worksheet Functions | |||
Open an Excel file with a date as today in a macro | Excel Discussion (Misc queries) | |||
How to record macro to print pages modified today | Excel Worksheet Functions | |||
=IF(OR(TODAY() |
Excel Discussion (Misc queries) |