I am using VB in a macro to follow a click on a hyperlink, and then copy a single field and paste it back to the spreadsheet. I have over 900 rows and have to do this weekly. I started a Macro with the VB in it. I just can't get it to repeat for all the lines in the range. Column A is the hyperlink, then column D is where I am pasting it back into. Here's my VB can someone help me with the repeat feature?
Range("A1").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
Application.WindowState = xlNormal
Range("D1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -3).Range("A1").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
ActiveWindow.SmallScroll Down:=15
Application.WindowState = xlNormal
ActiveWindow.SmallScroll Down:=-18
ActiveCell.Offset(0, 3).Range("A1").Select
ActiveSheet.Paste
Thanks everyone.
julius.gazdag@centurytel.com
Im a Telco guy, I can get you where you want to go, but I can't guarantee it will work when you get there!
Range("A1").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
Application.WindowState = xlNormal
Range("D1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -3).Range("A1").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
ActiveWindow.SmallScroll Down:=15
Application.WindowState = xlNormal
ActiveWindow.SmallScroll Down:=-18
ActiveCell.Offset(0, 3).Range("A1").Select
ActiveSheet.Paste
Thanks everyone.
julius.gazdag@centurytel.com
Im a Telco guy, I can get you where you want to go, but I can't guarantee it will work when you get there!