Run-time error 70

P

Paul

Hi,

I have a Word XP macro that opens IE 8, loads a specific webpage from the
local drive and populates a textarea within the webpage with some text. It
works perfectly with Word XP and IE 8 (at home), but errors out with Word
2007 and IE 6 (at work).

The error message is:
Run-time error 70
Permission denied

The line of code is:
myHTMLDoc.parentWindow.Document.all.Item("myTexArea").Value = WordText

Any suggestions on how to resolve this would be very much appreciated. Thank
you.
 

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