Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi :)

Macros in LibreOffice/OpenOffice are written in a very much different format 
than the Excel ones.  Excel macros have been know to spread malware and some 
offices disable them by default.  


Regards from
Tom :)




________________________________
From: 4logon <4logon@mailinator.com>
To: users@libreoffice.org
Sent: Thu, 3 February, 2011 21:36:40
Subject: [libreoffice-users] Calc - Basic: VBA ActiveSheet errors after saving 
xls to *.ods


hi,

i have a small Excel sheet with a simple  VBA makro inside. If I execute it
with Libre-Calc everything works fine... . When I save the Excel file as
LibreOffice File *.ods the VBA script failed at the line:

..
  Set tmpTable = ActiveSheet
or 
  workSheetName = ActiveSheet.Name
...

I think this is a BUG!!!- ActiveSheet is no longer present after saving
Excel file to LibreOfficeCalc file!!!
Any idea???

code:

Option VBASupport 1
Sub Main
     Dim workSheetName As String
     workSheetName = ActiveSheet.Name
     ' and do on..
End Sub
-- 
View this message in context: 
http://nabble.documentfoundation.org/Calc-Basic-VBA-ActiveSheet-errors-after-saving-xls-to-ods-tp2418343p2418343.html

Sent from the Users mailing list archive at Nabble.com.

-- 
Unsubscribe instructions: E-mail to users+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***


      
-- 
Unsubscribe instructions: E-mail to users+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.