+ Reply to Thread
Results 1 to 5 of 5

How to use VBA to put spaces in Concat

  1. #1
    Registered User
    Join Date
    06-28-2018
    Location
    Czech Republic
    MS-Off Ver
    365
    Posts
    10

    How to use VBA to put spaces in Concat

    Hey,
    I'm trying to put spaces between each number but can't figure out how to put " " into formula I tried "&"" ""&" but it doesn't work for me.

    Please Login or Register  to view this content.
    Last edited by PumSese; 09-17-2020 at 07:50 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: How to use VBA to put spaces in Concat

    Where exactly are you trying to add a space?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    06-28-2018
    Location
    Czech Republic
    MS-Off Ver
    365
    Posts
    10

    Re: How to use VBA to put spaces in Concat

    My ideal output would be =concat(A4;" ";A5;" ") and so on.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: How to use VBA to put spaces in Concat

    Try this.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-28-2018
    Location
    Czech Republic
    MS-Off Ver
    365
    Posts
    10

    Re: How to use VBA to put spaces in Concat

    Thanks it works

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copying a list without spaces to cells with spaces between them.
    By NoviceRenegade in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-19-2019, 01:12 AM
  2. CONCAT vs CONCATENATE
    By ionelz in forum Excel General
    Replies: 6
    Last Post: 03-01-2019, 05:25 AM
  3. Replies: 9
    Last Post: 12-31-2018, 01:29 PM
  4. Formula To Create a List Without Spaces From Data With Spaces
    By nicklasnicklas in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-11-2017, 01:58 AM
  5. Concat help
    By fluters1243 in forum Excel General
    Replies: 10
    Last Post: 06-30-2017, 11:14 AM
  6. [SOLVED] Replacing double spaces with single spaces
    By EdWoods in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-15-2013, 01:20 AM
  7. [SOLVED] Concat help
    By anuraag205 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-02-2013, 02:13 AM

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