VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using Shell statement to open html files

0 REPLIES 0
Reply
Message 1 of 1
john1951
285 Views, 0 Replies

Using Shell statement to open html files

Hello

I am writing reports in html from my VBA program.  Typically I use  a statement like:

 

myvalue1 = Shell("C:\Program Files\Internet Explorer\IEXPLORE.exe c:\BarCheckReport.htm", 1)

 

to open the report in windows internet explorer.  My question is, is it possible to detect if IE is already opened, and if so, to replace the report that is being shown in IE with the same file name.  The goal is to prevent having to close IE each time a new report is generated by the program.

 

Thank you

John

Tags (1)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost