Dim obj As PageSet.Printer Control 'Reference Pageset.dill
Set obj = New PrinterControl
obj.ChngOrienta tionLandscape
DataReport.Show
The above coding work properly in WindowsXP, but in windows7
page setup dose not work , show the massage report wide is larger than paper width.
How can I solved the problem.
Set obj = New PrinterControl
obj.ChngOrienta tionLandscape
DataReport.Show
The above coding work properly in WindowsXP, but in windows7
page setup dose not work , show the massage report wide is larger than paper width.
How can I solved the problem.