Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Following the link of href in

$
0
0

Dear User

I use the html object library from excel and I want to follow a link to another page.

The HTML code for the link is

<td>

            

<ahref="/en/ais/index/eta/all/port:1/portname:PIRAEUS"title="Expected Arrivals">63</a>

            

</td>

I have isolated the above in an object htmltabcell.Cells(ItemNo) and I would expect the  htmltabcell.Cells(ItemNo).Click to follow the link , but it does not do anything.

What I have found in the forums is that the only way to follow the link is to use ie.navigate thehrefcontent. which means that I have to isolate the href string by programming. I would think the click method would be more contained .

Please verify if the click method is really not usable in this case. 


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>