Sign in to follow this  
Followers 0
danpaul23

_IELinkClickByText when if "text" exists is uncertain

3 posts in this topic

I'm trying to use _IELinkClickByText but it is uncertain if the page will have the "text" which will be clicked.

I want something like the following but I'm not sure if it's possible:

if there is a link with the text "..." then

_IELinkClickByText ($oIE, "...")

end if

Thanks for your help.

Share this post


Link to post
Share on other sites



Just taking a guess: can't you check for

@Error:7 ($_IEStatus_NoMatch) = No Match

(from the help-file).

Share this post


Link to post
Share on other sites

Just taking a guess: can't you check for

@Error:7 ($_IEStatus_NoMatch) = No Match

(from the help-file).

Yes, it looks like this should work. I just started learning and hadn't had to use the @Error function yet. Sorry for the silly question.

Thanks again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0