Posting VBA Codes

GRTorres

Active Member
Joined
Nov 19, 2012
Messages
344
Hello All,

I quite frequently visit the board and enjoy helping others with Excel Questions. My Question for once is: how are people posting VBA Codes in what looks a VBA Project Box? It seems to hold the structure and look of the project instead of copying and pasting a code that gets all converted to plain text. Appreciate the help.
 
GRTorres,

If posting VBA code, please use Code Tags - like this:

[code]

'Paste your code here.

[/code]
 
Apart from typing the code tags manually, if you "Go Advanced" while replying, another method of applying the tags is to select your pasted code and click the # icon in the tool bars above the reply window.

I'm not suggesting anything wrong with using code tags but there is another alternative that is also good for posting formatted vba code. That is to use the VBHTML Maker. See the last line of my signature block for a link and see here for an example of the output.
 

Forum statistics

Threads
1,221,553
Messages
6,160,468
Members
451,649
Latest member
fahad_ibnfurjan

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