M
Mohan
Hello Experts,
Would like to use IE application object to print html without any
headers or footers.
Following is the code I use.
Set ie = CreateObject("internetexplorer.application")
'ie.navigate "C:\Test.htm"
OLECMDID_PRINT = 6
OLECMDEXECOPT_DONTPROMPTUSER = 2
ie.execWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
ie.Quit
How do I tell IE in VBA to print without any headers or footers that?
Any help or directions to proceed would be greatly appreciated.
Thanks,
Mohan
Would like to use IE application object to print html without any
headers or footers.
Following is the code I use.
Set ie = CreateObject("internetexplorer.application")
'ie.navigate "C:\Test.htm"
OLECMDID_PRINT = 6
OLECMDEXECOPT_DONTPROMPTUSER = 2
ie.execWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
ie.Quit
How do I tell IE in VBA to print without any headers or footers that?
Any help or directions to proceed would be greatly appreciated.
Thanks,
Mohan