I am trying to check whether the object is nothing using If Obj is nothing then, but I get the error "Invalid use of object". This is necessary to check if a named dictionary exists or not. on error resume next Set Obj=thisdrawing.Dictionaries("DictionayName") if obj is not nothing then flag=true end if