Switch Focus within vba

C

Chris Watts

Having used the FollowHyperlink method to open an html document, from within
an Excel vba macro, the focus moves to Intenet Explorer. How can I return
the focus from the html document to the Excel spreadsheet from within the
vba macro?

The code that I am using for the hyperlink is:

ActiveWorkbook.FollowHyperlink Address:="Parish Lists.htm", NewWindow:=True

TIA
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top