Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i am trying to create a simple code (before i make it more complicated) but i
fall on the first hurdle. what is wrong with this? Public Function returndate(inidate As Date) As Date Dim calcdate As Double calcdate = CDbl(inidate + 5) On Error GoTo Errfunction Application.Worksheets("Dates Lookup").Range("D6").Value = calcdate Errfunction: MsgBox Err.Description MsgBox Err.Number End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Runtime error 1004- application defined or object defined error | Excel Programming | |||
Runtime error 1004- application defined or object defined error | Excel Programming | |||
Run Time Error 1004 - Application-defined or object-defined error | Excel Programming | |||
Macro Run-time Error 1004 Application Defined or Object Defined Error | Excel Programming |