Forum Discussion

dbrewer's avatar
dbrewer
Occasional Contributor
13 years ago

"Object does not exist" without the error

I'm currently working a project where, (at least from what I can see) one of the only ways to work through my script correctly is to check if an object is visible or visibleonscreen. My problem, is I use



if abc.Visible = false Then

        call This.Click

  end if



But because at that point in the software all I'm trying to figure out is if something is visible, and if so or not I'll click open a tab to make it visible to the user. (This is all to make sure that a script will cover all the bases I need it to)

Right now the script works as it should, but i need it to not throw the error in the report.



The question is: Is there a way around the "Object Does not Exist" error?



David.

2 Replies