P
Phillip Peterson
I'm trying to apply the Printing Sample for the PivotTable to the
Spreadsheet.
I've copied these files to my directory:
BrowserSafe.bas
Helper.cls
otphelp.cab
PivotPrint.htc
I have the set the CLASS= for my spreadsheet object to "Printing" and
added...
.Printing
{
behavior: url(PivotPrint.htc);
}
....to my stylesheet.
In the OnLoad event for my page, I've added...
Form1.Spreadsheet1.PrintCodeBase = "otphelp.cab"
And in the PivotPrint.htc, I put an alert('here'); in the init() function.
Now, here's what happens. As the page loads, I get the 'here' alert.
However, when I click my print button, I get the error...
Object required: 'Form1.Spreadsheet1.Printing'.
....which tells me that PivotPrint.htc didn't actually attach to my
Spreadsheet1 object. Did I leave a step out? Why wouldn't it connect?
Spreadsheet.
I've copied these files to my directory:
BrowserSafe.bas
Helper.cls
otphelp.cab
PivotPrint.htc
I have the set the CLASS= for my spreadsheet object to "Printing" and
added...
.Printing
{
behavior: url(PivotPrint.htc);
}
....to my stylesheet.
In the OnLoad event for my page, I've added...
Form1.Spreadsheet1.PrintCodeBase = "otphelp.cab"
And in the PivotPrint.htc, I put an alert('here'); in the init() function.
Now, here's what happens. As the page loads, I get the 'here' alert.
However, when I click my print button, I get the error...
Object required: 'Form1.Spreadsheet1.Printing'.
....which tells me that PivotPrint.htc didn't actually attach to my
Spreadsheet1 object. Did I leave a step out? Why wouldn't it connect?