Copy URL and Paste into Excel using VBA?

Excel has a built in 'Hyperlink' class to handle this. You just need to create a hyperlink variable to store the returned hyperlink from the 'Add' function. From there you can reference the URL you are pointing to by the 'Address' property.

Excel has a built in 'Hyperlink' class to handle this. You just need to create a hyperlink variable to store the returned hyperlink from the 'Add' function. From there you can reference the URL you are pointing to by the 'Address' property.

Sub IMDB_URL_Search() Dim movie As String Dim link As Hyperlink movie = "The Shawshank Redemption" Range("IV1"). Select Set link = ActiveSheet.Hyperlinks. Add(Anchor:=Selection, Address:= _ "http://www.imdb.com/find?s=all&q=" & Replace(movie, " ", "+") _ , TextToDisplay:="Link") link.

Follow NewWindow:=False, Addaddress will be the URL for this web link MsgBox link. Address End Sub.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions