2009 Mar 26 10:42 AM
Hi experts,
I need to make a preview of an OLE excel.
I would like to set the following properties :
set property of print 'Zoom' = 'False'.
set property of print 'FitToPagesWide' = 1.
set property of print 'FitToPagesTall' = 1.-> I need to put Zoom to false to excecute the FitToPage properties.
But it doesn't work because OLE don't translate the "False" value.
My biggest problem is that I can't put 0 in place of 'False' because Zoom excpect integer value and bug when the value is 0.
The excel macro only takes
Zoom = Falseor
Zomm = integerbut integer <> 0 off course
If you have any idea to desactivate the "Zoom" property.
Regards,
2009 Apr 20 12:17 PM
Hi antbe,
My english is bad...
I have the same problem like you.
Do you have a solution ?
If I find a solution, I will send it to you.
Thank you in advance.
Hi experts,
I need to make a preview of an OLE excel.
I would like to set the following properties :
set property of print 'Zoom' = 'False'.
set property of print 'FitToPagesWide' = 1.
set property of print 'FitToPagesTall' = 1.-> I need to put Zoom to false to excecute the FitToPage properties.
But it doesn't work because OLE don't translate the "False" value.
My biggest problem is that I can't put 0 in place of 'False' because Zoom excpect integer value and bug when the value is 0.
The excel macro only takes
Zoom = Falseor
Zomm = integerbut integer <> 0 off course
If you have any idea to desactivate the "Zoom" property.
Regards,
2009 Apr 20 12:17 PM
Hi antbe,
My english is bad...
I have the same problem like you.
Do you have a solution ?
If I find a solution, I will send it to you.
Thank you in advance.
2009 Apr 22 7:58 PM
I have calculated the zoom with the total of an excel sheet and have made some % of that
Tell me if you want more details
2009 Apr 29 2:10 PM
Hi antbe,
It's a good idea ! I have programing this solution.
Thanks a lot.
Audrey
2010 Jul 30 3:24 PM
audrey - Did you solve this problem. I have the same requirement. I have to set up the Fit to Radio button in print preview. Can you tell me how you did it? If you give the sample code that helps me a lot.
Thanka
kishore
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |