User talk:Klever: Difference between revisions

not really
(Maybe try getting it added to the highlighter?)
(not really)
Line 1:
I notice that you're using <nowiki><lang VBA></nowiki> for your VBA examples. Might I suggest using <nowiki><lang vb></nowiki> instead? Then the examples will get highlighted properly. (It's what ''I'' do.) -- [[User:Eriksiers|Erik Siers]] 19:50, 4 October 2011 (UTC)
:If there are significant differences between the languages it might be better to get VBA added to GeSHi. There are some instructions [[Rosetta_Code:Village_Pump/Syntax_Highlighting#Relationship_Between_Rosetta_Code_and_GeSHi|here]]. [[User:BenBE]] is our contact for the GeSHi project. If the languages aren't that different it's probably not worth it, but it may not be too difficult to get a language file set up (multiple users have done it before so I don't think it's too hard). --[[User:Mwn3d|Mwn3d]] 20:06, 4 October 2011 (UTC)
::There aren't, really. Visual Basic 4/5/6 is a general-purpose implementation of VBA, while the VBA embedded in apps such as Word, Excel, etc is geared toward that specific app -- things like the <code>Document</code> object in MS Word and the <code>Spreadsheet</code> object in MS Excel. (Forms also work somewhat differently.) But VBA can do literally anything that VB6 can (except compile), and VB can do anything that VBA can do, and the code is ''almost'' identical.
::Most non-.Net VB code can be run from VBA with little or no changes, and vice-versa. -- [[User:Eriksiers|Erik Siers]] 20:19, 4 October 2011 (UTC)
1,150

edits