I recently upgraded iG:Syntax Hiliter which now includes a plain text option. That’s cool, but it seems to render the code better so that it pastes into the VBE without issue.
I had to edit the geshi vb.php file to include some keywords that are exclusive to VBA and/or Excel and I wanted to make that file available in case anybody else uses geshi to format their code.
Note that this replaces the current vb.php. I didn’t delete any keywords, so it should still work for straight vb6.0 code. I also changed the colors to match the VBE, e.g. comments in green.
I don’t know if I can modify this code and make it available, but someone will tell me if I shouldn’t have.