vba instantiated internetExplorer.application differs from user la

  • Thread starter Thread starter Rob
  • Start date Start date
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.
 
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
 
Back
Top