R
Reginald Johnson
Hello,
I have an Access Form with a Tab Control in it. On one of the Tab
controls I have a MS Spreadsheet Control. I've worked through the
problems I've had so far, and the worksheet works as I want it to.
However, I am unable to Print Preview it. As of now, my code looks like
this:
Public Function FuncPrintPreview (frmMe as Form)
Dim wrkSheet as WorkSheet
Set wrkSheet =frmMe.SprdTracker.ActiveSheet
wrkSheet.Range("A1:N14").PrintPreview
End Function
However, it doesn't look like Print Preview is a method of any sort that
is associated with a worksheet object. Does anybody have an idea on
how to do this?
I have an Access Form with a Tab Control in it. On one of the Tab
controls I have a MS Spreadsheet Control. I've worked through the
problems I've had so far, and the worksheet works as I want it to.
However, I am unable to Print Preview it. As of now, my code looks like
this:
Public Function FuncPrintPreview (frmMe as Form)
Dim wrkSheet as WorkSheet
Set wrkSheet =frmMe.SprdTracker.ActiveSheet
wrkSheet.Range("A1:N14").PrintPreview
End Function
However, it doesn't look like Print Preview is a method of any sort that
is associated with a worksheet object. Does anybody have an idea on
how to do this?