Convert Macro's to Javascripts?

R1chard

Active Member
Joined
Jan 14, 2004
Messages
410
My spreadsheet contains a whole load of Macro's.

Is there a piece of software which would convert these macro's into Javascript if i was to upload my spreadsheet as a website? Or does anyone know a way in which i could upload my spreadsheet as a website and for it to still to function correctly?
 
If you're running the site yourself on say IIS then you can use ASP which is similar in structure to VBA

eg

ASP tag (< followed by %)
If x = ... Then
...
Else
...
End If
close tag (% followed by>)

Without knowing what the macros do or what the spreadsheet is hard to say really.

This site shows some VBA-esque ASP commands if you want to rewrite in ASP

http://www.haneng.com/FunctionSearch.asp?s=a

Just a suggestion :)
 
Upvote 0

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
There is literally a bundle of things you can do. ASP conversion is a great way, but it does involve recoding.
In some cases, if you presume that whoever views your page has a browser that can read native excel, loading a live XLS file will actually work.

Anyway, a few notes:

Pay for Conversion:

http://www.convertzone.com/xls2htm/help.htm


Html,Java,Perl, and Tips etc

http://www.codetoad.com/


Tutorials on how to convert pages

http://www.plu.edu/~dmc/flipchart_excel_to.html


And etc....

There is literally heaps of ways to present your material on the web.
So it seems.

:bow:
 
Upvote 0
Don't know if you are still looking for ideas, but why not upload the XL file as is (or better yet, zip it with WinZip or one of its competitors) and let folks download it onto their own machine and use it there?

Best way to preserve XL-compatibility, don't you think?
R1chard said:
ok, thank you all for your help!! :beerchug:
 
Upvote 0

Forum statistics

Threads
1,224,893
Messages
6,181,617
Members
453,057
Latest member
LE102024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top