+ Reply to Thread
Results 1 to 3 of 3

Insert Tab Space

  1. #1
    Forum Contributor
    Join Date
    06-13-2004
    Posts
    120

    Insert Tab Space

    Hey everyone,

    I have a macro that is generating an email based on input into a userform. How can I tell it to insert a tab space into the email? I've tried just tabbing the text in the macro and that doesn't work. I've also tried just spacing it, but that doesn't line up straight. I know of Chr(10) for entering a linebreak, is there a similar code to enter a tab?

    TIA for your help everyone!

  2. #2
    Harald Staff
    Guest

    Re: Insert Tab Space

    Hi

    Tab is Chr(9)

    HTH. Best wishes Harald


    "dok112" <dok112.25ei7z_1143585002.5092@excelforum-nospam.com> skrev i
    melding news:dok112.25ei7z_1143585002.5092@excelforum-nospam.com...
    >
    > Hey everyone,
    >
    > I have a macro that is generating an email based on input into a
    > userform. How can I tell it to insert a tab space into the email?
    > I've tried just tabbing the text in the macro and that doesn't work.
    > I've also tried just spacing it, but that doesn't line up straight. I
    > know of Chr(10) for entering a linebreak, is there a similar code to
    > enter a tab?
    >
    > TIA for your help everyone!
    >
    >
    > --
    > dok112
    > ------------------------------------------------------------------------
    > dok112's Profile:

    http://www.excelforum.com/member.php...o&userid=10581
    > View this thread: http://www.excelforum.com/showthread...hreadid=527351
    >




  3. #3
    Dave Peterson
    Guest

    Re: Insert Tab Space

    or vbTab


    dok112 wrote:
    >
    > Hey everyone,
    >
    > I have a macro that is generating an email based on input into a
    > userform. How can I tell it to insert a tab space into the email?
    > I've tried just tabbing the text in the macro and that doesn't work.
    > I've also tried just spacing it, but that doesn't line up straight. I
    > know of Chr(10) for entering a linebreak, is there a similar code to
    > enter a tab?
    >
    > TIA for your help everyone!
    >
    > --
    > dok112
    > ------------------------------------------------------------------------
    > dok112's Profile: http://www.excelforum.com/member.php...o&userid=10581
    > View this thread: http://www.excelforum.com/showthread...hreadid=527351


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1