Mr Excel Forum - how to post a reply with a Code: box so VBA is not reformatted?

Brombrough

New Member
Joined
Apr 10, 2017
Messages
49
Hi,

Thanks in advance.

Simple question, I see people post replies and have a Code: box with nicely formated VBA code (All tabs in)

When I post it loses all its formatting.

How do I post with a Code: Box?

Thanks for replying.
 

Some videos you may like

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,838
Hi

You can use the code tags (press the # button in the reply toolbar)


1 - before

Press the # button in the reply toolbar.

Write your code between the tags

2 - after

Paste your vba code.
Select it.
Press the # button.
You'll get the code tags before and after the code.

... or you can add the tags manually.
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,109,026
Messages
5,526,325
Members
409,696
Latest member
EERS

This Week's Hot Topics

Top