+ Reply to Thread
Results 1 to 11 of 11

Number Break Down

  1. #1
    Forum Contributor Jerry HKA's Avatar
    Join Date
    09-25-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    126

    Number Break Down

    Hi everyone,

    Could anyone make a VBA function to break down a 4 digit number into multiple selection of three number. I have an example attached to this thread, please refer to it, the numbers highlighted in red are the original numbers, and the ones that are not, are the desired results. If not understood, please PM me for more information about the function. Or you may just post it on the thread.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Number Break Down

    See if this works.
    Attached Files Attached Files
    Last edited by jindon; 10-23-2012 at 12:28 AM.

  3. #3
    Forum Contributor Jerry HKA's Avatar
    Join Date
    09-25-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    126

    Re: Number Break Down

    Hi Jindon,

    Thank you for the code, it is working marvelously perfect. But could you please show me the VBA code. I really need to know. And by the way, the attached is only one part of the file, what should I do if I have to use the VBA code for many of that is what in the attached? Please answer, and post the VBA code. Thank you once again.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Number Break Down

    Here
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor Jerry HKA's Avatar
    Join Date
    09-25-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    126

    Re: Number Break Down

    Thank you very much for your help, I hope you can help me again the next time.

  6. #6
    Forum Contributor Jerry HKA's Avatar
    Join Date
    09-25-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    126

    Re: Number Break Down

    Hi Jindon, what about if I want to use the code on many of that is was in the workbook, what should I do? And there is still one more problem, the computer won't recognize a number that starts with 0. Whenever I write a number that starts with 0, ex. 0976, 0964 and so on, the result would be, 679 and 469 respectively. The result should be. 067,069,079 and 046,049,069 respectively. Please help to approach the code. Thank you.
    Last edited by Jerry HKA; 10-23-2012 at 10:18 PM.

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Number Break Down

    Quote Originally Posted by Jerry HKA View Post
    Hi Jindon, what about if I want to use the code on many of that is was in the workbook, what should I do? And there is still one more problem, the computer won't recognize a number that starts with 0. Whenever I write a number that starts with 0, ex. 0976, 0964 and so on, the result would be, 679 and 469 respectively. The result should be. 067,069,079 and 046,049,069 respectively. Please help to approach the code. Thank you.
    Change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor Jerry HKA's Avatar
    Join Date
    09-25-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    126

    Re: Number Break Down

    What should I do if I want to apply it in many places as like in the attached? That in the attached is just a part of the worksheet, could you tell me how to apply it to many places, because it seems to only work at that one certain place. Please try to help.
    Attached Files Attached Files
    Last edited by Jerry HKA; 10-24-2012 at 10:03 PM.

  9. #9
    Forum Contributor Jerry HKA's Avatar
    Join Date
    09-25-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    126

    Re: Number Break Down

    Please help, jindon.

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Number Break Down

    Please Login or Register  to view this content.

  11. #11
    Forum Contributor Jerry HKA's Avatar
    Join Date
    09-25-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    126

    Re: Number Break Down

    Thank you, Jindon. I very much thank you as much as a thousands of milions of times. This helped me billions. Thank you so much.

+ 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