View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default 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