Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am working on porting MSoffice excel macros on linux. Currently I use wine and i run macros. but i have very big complicated file with very huge macros.
Even my wine is not able to run them
Its getting stuck somewhere.
Can anyone help me out from this?
Any suggestions are really helpful.
Thanks in advance
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Not much good news. Personally I think porting is always better than running alien packages on a Linux platform, even if the Wine developers do a wonderful job.
It seems that there is no easy way to convert MSOffice macros to StarBasic. The best document I found so far is here. I can't remember anymore where I found it, sorry.
On the OpenOffice.org site you'll find a lot of information about writing macros in StarBasic. Try to google to "convert macros MsOffice OpenOffice"
BTW, I have a similar problem... I have written some macros in Excel for the people at my Office. However, I don't own a single Window machine anymore. Now everyone can use my macros _but_ meself! I have been considering to write the code in StarBasic, and link to the data in the Excel documents of the other users. But that would mean that I have to maintain code in both MSOffice and StarBasic, which is a very nasty solution. The only way left seems to be to use a language which is common on both platforms, and then access the data in a format which is readable for both. I fear a steep learning curve and a lot of work!
I got the same document yesterday. But, porting as you said is going to be difficult as every single line of code has to be modified. I prefer a tool which does all this. Is there any tool ?
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Well, you have the same problems and dilemma as I have.
I partially solved it by doing some processing in a linux shell, reating a CSV file and import that in Excel.
But another program, which does a lot with borders and colored backgrounds, is still unusable in Linux.
What I do now and then as well is that I VNC to a Windows machine and run the MS app there. Unfortunately VNC proves to be unreliable on some windows machines and refuse to let me in after a few days. Still a nuisance.
I am afraid you have to make the step to something multiplatform someday, or to make the conversion to Linux for once and for all, but I do not know whtether that is possible in your office.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.