Jump to content

How to insert a URL in Excel cell


Recommended Posts

Hi!

I'm trying to insert an url from a website into a Excel cell. I know the indexnumber, so I can click the link with the _IELinkClickByIndex command, but how do I copy it, so I can insert it in excel?

Help a n00b out! >_<

Thanks!!

Edited by ThomasQ
Link to comment
Share on other sites

Look at the help file. It holds all secrets of the universe >_<

$link=_IELinkGetCollection ( $ie, $index)
$url=$link.href

search the forum for Excel UDF to see how to insert it in excel

I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.

Link to comment
Share on other sites

Thanks! It's still not clear though.. Once I get the URL as $oURL, I'll be fine getting it in excel. ALso I get the _IEgetcollection command, but I don't get the $url=$link.href command. That .Href at the end, that's wat chooses the last Link from the collection?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...