FollowHyperlink

Mudbutt

Board Regular
Joined
Jul 18, 2011
Messages
158
This line of code isn't working for me for some reason and everything I've looked up states that it should. I'm getting an "Object does not support this property or method" error.

When I click on the link directly, it pulls up the option to Open the file so I know the link works...

Code:
Application.FollowHyperlink "http://.../Delivery Plan Data.xlsx", , True
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Oh really? Because all the examples I found online stated it like this. I tried Workbook.Followhyperlink just now and it told me the object is still required. Do you have an example?
 
Upvote 0
Oh really? Because all the examples I found online stated it like this. I tried Workbook.Followhyperlink just now and it told me the object is still required. Do you have an example?

Try either ThisWorkbook or ActiveWorkbook... not just Workbook by itself.
 
Upvote 0
That worked! Thanks guys! Do you know how to bypass the prompt warning me about opening something with a virus?
 
Upvote 0
That's too bad, i don't have enough access to my computer because it's a work computer to make those changes. Thanks anyway.
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top