Question

Is there any program or website that could convert an Excel macro code into an html nice looking format.

I used syntaxhighlighter for Java and Java scrtipt. Is there anything similar fot Excel?

Was it helpful?

Solution

Check whether syntaxhighlighter recognises VBScript; this is more likely than a specific mention of VBA and almost identical for highlighting purposes. (Just checked, it mentions Visual Basic and VB.NET, so you can continue with syntaxhighlighter - which seems sensible.)

highlight.js mentions VBScript, and has an example, but I haven't used it myself.

In fact, I think most syntax-highlighters will show a reasonable representation of VBA code.

OTHER TIPS

You should check Notepad++, which supports several languages (VB included).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top