print previev

User avatar
sal21
PlatinumLounger
Posts: 3562
Joined: 26 Apr 2010, 17:36

print previev

Post by sal21 »

Possible to show print preview, in VB6, before to print a sheet?

User avatar
HansV
Administrator
Posts: 71191
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: print previev

Post by HansV »

For example:

Code: Select all

    excelApp.ActiveSheet.PrintPreview
where excelApp is your Excel.Application object.
Regards,
Hans