Open the print menu panel in vba

Hello

That's all in the title, I'd like to know if it's possible to open the print panel (Without printing!) In fact, exactly as if you did "Ctrl + P".
Because I would like to do some checks on the MEP before opening this menu.

 

Thank you

Hello

It seems to me that this is impossible. The trick I used is to show the print preview:

Dim instance As IModelDoc2
 
instance. PrintPreview()

Otherwise, you can choose the preferences by macro too, see this message and the following:

https://forum.solidworks.com/message/112810#112810

 

Thanks, now I'll see for a solution where I make my own UserForm for printing. Thank you

I'm pretty much on point, I just have a pretty annoying problem left.

How do I print only the active sheet? (In vba of course) because there he prints all the sheets for me...

Allow me to ask the question again

 

>How do I print only the active sheet? (In vba of course) because there he prints all the sheets for me...

This would suit me enormously