| || |
Hyperlin s in a table
I have a table containing various hyperlinks and dependent upon what page you are on depends upon which ones are disabled or not.
Using the identify tab in TP if they are enabled they show as
So I did the following to try to test this, the 2 anchors should not be present in this instance
Dim anchor, anchor2 as THTMLAnchor
Set anchor = HTMLAnchor("Caption='Advice Processes'", tpAttachNoWait)
Set anchor2 = HTMLAnchor("Caption='Reports'", tpAttachNoWait)
if (anchor.Exists = true) and (anchor2.Exists = true) then
msgbox "incorrect links"
However if i change these to false i still do not get the message box to appear telling me they are incorrect links.
Is this the correct way to find out if these are enabled links or not, because if they do exists then in the code there is a href if not then there is no a href.
Re: Hyperlin s in a table
Problem over thanks anyway.