how to run VBA macros of MSExcel in Linux

This is a discussion about how to run VBA macros of MSExcel in Linux in the Everything Linux category; The Openoffice macros are written in Star Basic language and MSOffice macros are written using Visula Basic for Applications. I have a Excel Macro file which has to run on linux. The following are the procedures I adapted and finally i was not able to make it.

Everything Linux 1798 This topic was started by , . Last reply by ,


data/avatar/default/avatar39.webp

2 Posts
Location -
Joined 2006-07-13
The Openoffice macros are written in Star Basic language and MSOffice macros are written using Visula Basic for Applications.
I have a Excel Macro file which has to run on linux.
The following are the procedures I adapted and finally i was not able to make it.
 
I first tried with Openoffice and found that the way the Openoffice processes the DataSheet is different from the way the MSOffice does.
 
So, I have known an emulator called wine. I installed wine. Then created an windows environment and then I installed VB6 runtime environment for the VBA to work. Now, it was time for me to try my luck in wine by installing MSoffice. I installed MSoffice 97 and the installation went pretty well.
 
Now, when I open my Excel sheet containing macros, the M[censored]cel started bouncing with errors.
The error was
-------------------------------------------------- ---------------------
" Run-time error '-2147417848 (80010108)':Run-time error '-2147417848
(80010108)': Method 'Paste' of Object '_Worksheet' Not Found."
-------------------------------------------------- ---------------------
 
I googled and found that this error occurs when the cells are conditionally formatted and the cells range to paste was lost.
 
Can anyone guide me how to continue working on this?
 
Please advice me.
Sailaja

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jul 13
Created
Jul 13
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic