Word VBA Macro Won't Run From Browser

C

ChrisZ

Hello,

I am opening a Word document from a local web site hyperlink that should run
a simple VBA macro when it opens:

Private Sub Document_Open()
Selection.WholeStory
Selection.Copy
End Sub

The document opens in Word, not a browser window, I get the virus warning,
select the enable macro button and nothing happens. When this document is
opened from the folder the macro runs like it should.

I've checked the hyperlink and it's correct. The local web site is in a
trusted zone. I set the security to low and still nothing.

Thanks for your help,

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