0

I have a website currently running and I have written some Microsoft excel macros. Is there any possible way I can run the macro on my website which runs on Linux server?

I made some research and it says that macros are not supported in Linux server. Is there a way to get around these and make the macros interact with my website site code (HTML, PHP)?

I am thinking of recoding the VBA codes in PHP language directly on the website, but that would be a lot of work. Any help would be appreciated.

4
  • What is the VBA code doing? IMO when you have MS Excel workbook with VBA macros and you need the website to use these VBA macros then one possibility would be a web server which can host MS Excel and this is some Windows server with IIS. So move the website from Linux to Windows, from Apache? to IIS and then install MS Excel on that windows server and there would be a possibility that your application which runs now on IIS can use your VBA code. MS Excel is not supported by Linux so you can't have MS Excel running on your Linux server. Commented Jun 8, 2015 at 6:18
  • while researching I came across wineserver...would installing it make any difference? Commented Jun 8, 2015 at 14:48
  • you can rewrite your macros to VBScripts for independent run (should be not so hard). And run it over Wine. some example Commented Jun 8, 2015 at 15:34
  • sorry..contacted by server admin...they said wine is not supported.. Commented Jun 8, 2015 at 15:42

1 Answer 1

1

Excel does not run on Linux. There are alternatives that run on Linux (Open Office, StarOffice) which may or may not have their own version of macros but it won't be VBA.

Sign up to request clarification or add additional context in comments.

1 Comment

wt would be ur suggestion for me?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.