Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to use the Now function in VBA. I continue to get a compile
error: Expected function or variable. The error highlights on the word, Now. The formula below is an example of the code. Sub Dateparttest() Dim today today = Month(Now) Range("b1").Value = today End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Function Question | Excel Worksheet Functions | |||
Function Question | Excel Worksheet Functions | |||
Function Question | Excel Worksheet Functions | |||
IF Function question. | Excel Worksheet Functions | |||
Function Question | Excel Worksheet Functions |