+ Reply to Thread
Results 1 to 3 of 3

Put comma by copy paste in Worksheet Change

  1. #1
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Put comma by copy paste in Worksheet Change

    Hi All,

    I've been working with a project, the user wants to have a comma at the end once he input a value in a cell from Column A to C, I already did that. Somehow, he wants it also working once he copy/cut paste a value in a same column. Here is the piece of code that I am working.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Put comma by copy paste in Worksheet Change

    You may have to loop through the rang

    Please Login or Register  to view this content.
    There could also be and evaluate[] code as well, but not sure if you would be able to check if the cell already has a comma

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,482

    Re: Put comma by copy paste in Worksheet Change

    Try:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Worksheet Change Event Is very Slow To work copy formula and paste
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2017, 07:12 AM
  2. Worksheet change event copy paste dont call a macro
    By ricklou in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2017, 04:26 PM
  3. Excel VBA Automate to open CSV comma delimited file and copy to worksheet
    By Jovillanueva in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2014, 04:43 AM
  4. [SOLVED] Trigger Worksheet Change by copy and paste
    By maddog9486 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-20-2014, 12:05 PM
  5. Replies: 3
    Last Post: 02-21-2013, 12:48 AM
  6. Need help making a macro that will find, copy, and paste a cell with a comma in it
    By EricC PhD in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-12-2012, 04:38 PM
  7. Copy and Paste using worksheet change
    By arader1216 in forum Excel Programming / VBA / Macros
    Replies: 34
    Last Post: 02-05-2012, 12:12 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