How do you write a code in Visual Basic which shows the Print Preview of related documents of any type and also takes print outs? |
Answer
Take for example the EXCEL. after creating the object of the excel sheet and performing the operation on the excel sheet, you want to view the print preview.
Object.PrintPreview This will show the print preview
Object.PrintOut Thsi will directly print the document instead of priview as it is to the default printer.
|
|
|
First answer by ID3413135498. Last edit by ID3413135498. Question popularity: 80 [recommend question]
|
Research your answer: |
Can you answer other questions about programming?
|
|


