+ Reply to Thread
Results 1 to 4 of 4

How to create blank spaces

  1. #1
    Registered User
    Join Date
    01-06-2006
    Posts
    13

    How to create blank spaces

    Does anyone know how to create blank spaces in fields or joins?

    I need to either:

    Join A2 & C2 with 69 blank spaces in between them

    - OR -

    Join A2 B2(putting the blank spaces in B2) & c2.

    Thanks for any help!

    Di

  2. #2
    GB
    Guest

    RE: How to create blank spaces

    Dim TotalText as string

    TotalText = A2

    For I = 1 to 69
    TotalText = TotalText & " "
    Next I

    TotalText = TotalText & B2


    "denileigh" wrote:

    >
    > Does anyone know how to create blank spaces in fields or joins?
    >
    > I need to either:
    >
    > Join A2 & C2 with 69 blank spaces in between them
    >
    > - OR -
    >
    > Join A2 B2(putting the blank spaces in B2) & c2.
    >
    > Thanks for any help!
    >
    > Di
    >
    >
    > --
    > denileigh
    > ------------------------------------------------------------------------
    > denileigh's Profile: http://www.excelforum.com/member.php...o&userid=30211
    > View this thread: http://www.excelforum.com/showthread...hreadid=502548
    >
    >


  3. #3
    Dave Peterson
    Guest

    Re: How to create blank spaces

    in a cell:
    =a2&rept(" ",69)&c2

    in code:
    dim myStr as string
    with worksheets("sheet1")
    mystr = .range("a2").value & space(69) & .range("C2").value
    end with

    denileigh wrote:
    >
    > Does anyone know how to create blank spaces in fields or joins?
    >
    > I need to either:
    >
    > Join A2 & C2 with 69 blank spaces in between them
    >
    > - OR -
    >
    > Join A2 B2(putting the blank spaces in B2) & c2.
    >
    > Thanks for any help!
    >
    > Di
    >
    > --
    > denileigh
    > ------------------------------------------------------------------------
    > denileigh's Profile: http://www.excelforum.com/member.php...o&userid=30211
    > View this thread: http://www.excelforum.com/showthread...hreadid=502548


    --

    Dave Peterson

  4. #4
    Registered User
    Join Date
    01-06-2006
    Posts
    13
    OMG! It worked! It's amazing how quick it is to do things if you know the proper terminology!!!!!

    THANK YOU SOOOOO VERY MUCH FOR ALL OF YOUR HELP!!!!!!!!

    *doing happy dance*

    I OWE YOU BIG TIME!

+ 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