Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
This works Dim debriefBook As Workbook Sub booktest() Set debriefBook = ThisWorkbook MsgBox debriefBook.Name End Sub but if I call a function from a different module, Sub ShowName Set debriefBook = ThisWorkbook ShowMe End Sub and this is in a different module! Function Showme() MsgBox debriefBook.Name End Function It doesnt work, it says "object not defined" I'm not sure whats going on. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run-time error '50290': Application-defined or object-defined erro | Excel Discussion (Misc queries) | |||
Application-defined or object-defined error Please Help | Excel Discussion (Misc queries) | |||
Application-defined or object-defined error | Excel Programming | |||
VBA - Application-defined or object-defined error | Excel Programming | |||
VBA - Application-defined or object-defined error | Excel Programming |