Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello. I have this "workbook_open" sub that looks like this. Code: -------------------- Private Sub Workbook_Open() Application.CalculateFull If (Weekday(Today()) = 6) Then [Sheets("Stora lev problem").Range("E3") = TODAY() + 3] Else [Sheets("Stora lev problem").Range("E3") = TODAY() + 1] End If End Sub -------------------- I get an error that TODAY() is not defined when I open the workbook. Why? Isn't TODAY() a general function in excel that should work automaticaly? Can someone please give me a hint? /Anders -- a94andwi ------------------------------------------------------------------------ a94andwi's Profile: http://www.excelforum.com/member.php...o&userid=21077 View this thread: http://www.excelforum.com/showthread...hreadid=520475 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA Functions Undefined | Excel Worksheet Functions | |||
Undefined function | Excel Programming | |||
Undefined function | Excel Programming | |||
How wrong can you be with your NPV and MIRR functions in EXCel | Excel Worksheet Functions | |||
2147217900 undefined function | Excel Programming |