VBA to close hyperlink after Opening

drw7162

New Member
Joined
Feb 4, 2022
Messages
4
Office Version
  1. 2013
Platform
  1. Windows
Hi,

I am hoping someone can give me a quick simple answer to my problem. I have a vba that requires a website to be opened and then closed.
I am using
ActiveWorkbook.FollowHyperlink hyperlinkname

and it opens the hyperlink perfectly, problem is I can't figure out how to then close the hyperlink i just opened? to be able to close it on a delay would be even better, say after a few seconds...thanks for any help someone can offer.

Dan
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,176,137
Messages
5,901,566
Members
434,905
Latest member
VillSkill

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
Top