Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

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

  1. #1
    New Member
    Join Date
    Apr 2017
    Posts
    49
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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

    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.

  2. #2
    MrExcel MVP
    Join Date
    Apr 2006
    Posts
    19,560
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    2 Thread(s)

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

    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 by pgc01; Mar 22nd, 2019 at 05:49 AM.
    Kind regards
    PGC

    To understand recursion, you must understand recursion.

  3. #3
    MrExcel MVP
    Join Date
    Apr 2006
    Posts
    19,560
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    2 Thread(s)

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

    and the tags are:

    [ CODE][ /CODE]

    without the spaces
    Kind regards
    PGC

    To understand recursion, you must understand recursion.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •