Jump to content
Sign in to follow this  
ThomasQ

How to insert a URL in Excel cell

Recommended Posts

ThomasQ

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

Share this post


Link to post
Share on other sites
muhmuuh

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.

Share this post


Link to post
Share on other sites
ThomasQ

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?

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.