+ Reply to Thread
Results 1 to 6 of 6

inserting space

  1. #1
    Registered User
    Join Date
    01-22-2008
    Location
    qatar
    MS-Off Ver
    office 365
    Posts
    42

    inserting space

    please i need kind help

    i have data in symbols in a cell. need to insert space after every symbol in a single cell, as

    ہسیصنط


    ہ س ی ص ن ط

    the sample file is attached
    please help
    Attached Files Attached Files
    Last edited by usamampk; 12-19-2020 at 07:32 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-30-2018
    Location
    Vlaams Brabant Belgium
    MS-Off Ver
    365
    Posts
    456

    Re: inserting space

    Hi
    I wrote a little function so you can use it as a formula
    in order to use it in you workbook you will need to add the code in a module in the VBE


    Please Login or Register  to view this content.
    use the formula as '=SpaceOut(D6)
    Attached Files Attached Files
    Please be as complete as possible in your asking so it may save use all the time to rework the solution because you didn't give all the requirements. If you have a layout in mind please work it out first so we can adapt our solution to it. Thanks.
    If you have been helped, maybe you could click the *

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,453

    Re: inserting space

    F6 cell , array formula

    HTML Code: 

  4. #4
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,417

    Re: inserting space

    I don't deal with international programming, so I cannot be 100% sure, but I believe this one-liner function (named the same as Joske920's function) will do the same thing as Joske920's function does...
    Please Login or Register  to view this content.
    Edit Note: I don't have Excel 365, but I see wk9128 who does have it has posted a straight Excel formula that he believes works.
    Last edited by Rick Rothstein; 12-19-2020 at 07:55 PM.

  5. #5
    Registered User
    Join Date
    01-22-2008
    Location
    qatar
    MS-Off Ver
    office 365
    Posts
    42

    Re: inserting space

    Thanks for the great help provided. problem solved

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,453

    Re: inserting space

    Wow, your custom function can be expressed in one line, which is great, I learned from you @Rick Rothstein

    PS : In fact, my custom function TEXTJOIN uses OFFICE2007 to solve the high version OFFICE2019 exactly the same function, and I don’t have the OFFICE2019 version.

    My custom function is so long

    Function zk(x As Range)
    y = Len(x)
    For i = 1 To y
    zk = zk & Mid(x, i, 1) & " "
    Next i
    zk = Left(zk, Len(zk) - 1)
    End Function
    Last edited by wk9128; 12-19-2020 at 10:17 PM.

+ 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. [SOLVED] Inserting Space In Cells
    By khemistry1911 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2014, 11:32 AM
  2. Inserting a space and Suming Macro
    By lobodade in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2011, 10:20 AM
  3. Inserting space in between the conents in a cell
    By bengaluru in forum Excel General
    Replies: 2
    Last Post: 02-23-2011, 12:46 PM
  4. Inserting space in a field
    By smselvi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2010, 02:53 AM
  5. Inserting Space Into Cell With Text
    By wnstar21 in forum Excel General
    Replies: 5
    Last Post: 07-25-2008, 02:27 PM
  6. [SOLVED] inserting a space in a number
    By Anthony in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-18-2006, 12:55 PM
  7. re inserting a 2 row space between data
    By hoganc in forum Excel General
    Replies: 1
    Last Post: 01-05-2005, 08:26 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