Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Abe
Change dictCornerCellPics("a").exists to dictCornerCellPics.exists("a") -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Abe" wrote in message ps.com... I have a dictionary, declared in a module as: Public dictCornerCellPics Workbook_Open() contains the Set of the dictionary, as below: Set dictCornerCellPics = CreateObject("Scripting.Dictionary") A userform in the project contains a cmdButton_click() line of: If dictCornerCellPics("a").exists then This returns a "Run time error: Object Required" Do all of the uses of dictCornerCellPics have to be in the module that it is declared in? What else may be wrong? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checking if Sheet Exists? | Excel Discussion (Misc queries) | |||
checking if an url exists | Excel Programming | |||
Checking if a worksheet already exists... | Excel Programming | |||
Checking if file exists in VBA | Excel Programming | |||
Checking to see if Folder exists | Excel Programming |