I installed the open office version Open office 3.4 . It installed succesffuly. I can work in the application manually.
Please update your signature, too.
Dear all,
I use the following code to set a zoom size for a calc document using visual basic application.
when i tried to use application by vb code, it raises an error on the following code
Code: Select all Expand view
Set oSM = CreateObject("com.sun.star.ServiceManager")
the error message say"Can not create an activex component object".
Please attach all lines of the your
OOBasic code.
((The MS VBA and OOBasic are not compatible. You can not save OOBasic code into an MS .xls file, and the MS VBA will not work perfectly in Openoffice.))
I use the following code to set a zoom size for a calc document using visual basic application.
Do you using the native ODF (.ods for Calc) filetype?
The previous attached (recorded by the macrorecorder) subroutine (named: "zoom2" ) was worked for you in an .ods file? See the attached file: