+ Reply to Thread
Results 1 to 7 of 7

VBA help needed to add a comma at the end of all numeric value

  1. #1
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    VBA help needed to add a comma at the end of all numeric value

    Folks,

    Could you please help me with a code to add comma at the end of all numeric value.

    I have attached the work book what I am trying to accomplish.

    Thanks in advance.

    Joshi
    Attached Files Attached Files
    Cheers,

    Joshi
    Being with a winner makes you a winner

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

    Re: VBA help needed to add a comma at the end of all numeric value

    try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA help needed to add a comma at the end of all numeric value

    Hi Jindon,

    Awesome code.... its working excellent. Thanks a lot for your great support as usual.

    Joshi

  4. #4
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA help needed to add a comma at the end of all numeric value

    Hi Jindon,

    Can I ask one more help? if i need to add hyphen "-" in the beginning of all numeric value, what changes i have to make in the existing code.

    i.e.
    SampleText-01, SampleText-2, SampleText-003, SampleText-0004

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

    Re: VBA help needed to add a comma at the end of all numeric value

    change to
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA help needed to add a comma at the end of all numeric value

    Sorry for the late reply Guru Jindon.
    The code is is working excellent as desired. Thanks a lot

  7. #7
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,396

    Re: VBA help needed to add a comma at the end of all numeric value

    Here an alternative which you could try too.

    Please Login or Register  to view this content.

+ 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. Replies: 10
    Last Post: 06-17-2020, 09:29 AM
  2. Extract largest value from comma separated alpha numeric list in cell
    By nickytraps in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-16-2019, 11:00 PM
  3. [SOLVED] Replace point with comma - Numeric value error
    By Altony in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-05-2019, 05:59 AM
  4. [SOLVED] How to convert numeric data in an excel column into a string of comma values.
    By desgordon in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-04-2012, 12:10 PM
  5. Formula needed for CSV Comma Delimited file
    By bkajs1976 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-06-2011, 02:20 PM
  6. Numeric keyboard decimal key - comma or point or both
    By nsv in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-07-2008, 04:08 AM
  7. Replies: 1
    Last Post: 07-17-2008, 01:35 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