+ Reply to Thread
Results 1 to 10 of 10

Split a number

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Split a number

    My code won't work if your numbers are delimited differently. Try replacing
    splitStr = Split(strToSplit, ", ")
    with
    splitStr = Split(strToSplit, ",")
    in your workbook. This will work if your numbers are separated by a comma only (as opposed to a comma followed by a space like I originally assumed).

    I hope this helps

  2. #2
    Registered User
    Join Date
    07-28-2014
    Location
    Manchester, England
    MS-Off Ver
    2010
    Posts
    7

    Re: Split a number

    ajryan thanks very much, it must have been the extra space that was killing it as making the little change made it work perfectly.

    Brilliant help, two solutions, both work, couldnt be happier, thank you both.

+ 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. Split up number
    By rizmomin in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 02-16-2014, 01:32 PM
  2. Replies: 6
    Last Post: 11-26-2013, 05:21 PM
  3. Split Number To Digits
    By sujittalukder in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-02-2012, 08:52 PM
  4. Excel 2007 : Trying to split number into ranges
    By daveydet in forum Excel General
    Replies: 2
    Last Post: 11-02-2010, 01:54 PM
  5. Split cell before number?
    By majahops in forum Excel General
    Replies: 2
    Last Post: 02-09-2008, 08:08 PM

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