vba instantiated internetExplorer.application differs from user la

R

Rob

I am trying to use VBA code to print an intranet page that uses .aspx, and I
cannot get past the security failures. Here are the pertinent lines of code:

Call objTest.navigate(strAspWebPage, navTrustedForActiveX, "_self",
"Export.aspx?Report=cr_MS.rpt&Site=H", "")
objTest.Visible = True

If I open IE as a user and go to the same URL, I have no problem.

I have been looking for some options that I must be missing when I created
the object:
Set objTest = CreateObject("internetexplorer.application")
so that it will inherit all the same security as if I had opened it as a user.
Maybe my sense of where the solution lies is mistaken.

Any help would be appreciated.
 
J

JP

You might need to post more of your code.

(ps- this is the Outlook VBA programming group, you might only get
limited help here.)

--JP
 

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