I am writing a macro which would save sheet as PDF and then would print current sheet. I know that there is Imodeldoc2.printout4, but i need the print dialog box to pop up. Is there a call to open print dialog box?
swApp.RunCommand swCommands_Print, ""
That is what i need. Thank you, Matt !
and one more question. is it possible to set Print current sheet to bet set on Print dialog box?
swprintspecs.addprintrange works only with swmodeldocext.printout4?
I don't think you can have the selection premade for you.
What is the end result you are seeking? Why do you want the print dialog to come up with the current sheet selection already made?
That was what my colleagues asked for, but after discussion we came to the agreement to use printout4 instead of dialog box.
Retrieving data ...