vprasadblr
Technical User
Hi All,
I have a situation.
I am writing some data from VB to Excel. I want to use the Excel Print Preview control for the user to print the Excel sheet.
After printing, if the user clicks on the 'Close' button of the Print Preview screen, I want the application to close the Excel file, quit from Excel & return back to the VB application.
I want use the Excel for printing because a report is to be printed. Since Excel allows easy formatting of reports, I thought it would be wise to use Excel & also print from Excel itself.
Can anyone of you help me ?
I have a situation.
I am writing some data from VB to Excel. I want to use the Excel Print Preview control for the user to print the Excel sheet.
After printing, if the user clicks on the 'Close' button of the Print Preview screen, I want the application to close the Excel file, quit from Excel & return back to the VB application.
I want use the Excel for printing because a report is to be printed. Since Excel allows easy formatting of reports, I thought it would be wise to use Excel & also print from Excel itself.
Can anyone of you help me ?