+ Reply to Thread
Results 1 to 7 of 7

Auto-correction of a cell after editing

  1. #1
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Auto-correction of a cell after editing

    Dears,
    I have below macro on sheet5, to make uppercase automatically after editing a cell.

    Please Login or Register  to view this content.
    i also need another macro for same page to clear spaces, dots, and characters like - _ from the selected cell in column D, after editing this cell. and both of these 2 macros should not prevent each other. Thank you in advance.
    Last edited by turkanet; 06-28-2018 at 04:35 PM.

  2. #2
    Forum Contributor
    Join Date
    09-21-2009
    Location
    Belgium - Mechelen
    MS-Off Ver
    Office 365 - version 2310
    Posts
    278

    Re: Auto-correction of a cell after editing

    turkanet,

    pls use [CODE] tags to display code on the forum, as described in the forum's Rules item #3 :
    see : https://www.excelforum.com/forum-rul...rum-rules.html

    Thanks
    Even a little help can be a big help !!
    1. A sample workbook says more then words. Add problem description and solution so we can understand the problem.
    2. Your appreciation is accepted by clicking the star "Add Reputation" at the lower left of the post.
    3. If your problem is solved, mark it as [SOLVED]: See "FAQ : " https://www.excelforum.com/faq.php
    4. Use [CODE] [/CODE] tags to illustrate your code: see here

  3. #3
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Re: Auto-correction of a cell after editing

    Any member to assist this request?

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Auto-correction of a cell after editing

    I think that your question was overlooked beacuse you have already flagged it as solved.

    See if this does what you need

    Please Login or Register  to view this content.
    This will remove anything that is not a letter (a-z) or number (0-9),it will need to be edited if you need to keep any other specific characters including any accented letters i.e. á.
    Is that what you need?

  5. #5
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Re: Auto-correction of a cell after editing

    Dear Jason,
    Thank you for kind help. I have to clarify my request better like below;
    adding to UCase event,

    additional code must delete characters "- _ ( ) space dot comma" from selected cell in colomn D, and add plus sign (+) to same selected cell. for your information, this colomn is for telephone numbers, and i am trying to make cells automatically change numbers as "1 (808) 7555-1111" to "+180875551111" format.

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Auto-correction of a cell after editing

    Sorry, I missed the requirement for column D in your original post.

    This should do what you need.

    Please Login or Register  to view this content.
    Last edited by jason.b75; 07-01-2018 at 06:37 AM. Reason: edited code to allow for multipe cell copy / paste

  7. #7
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Re: Auto-correction of a cell after editing

    This is perfect really. Thank you Jason for kind help.

+ 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. Spell Check & Auto Correction For Mixed Language or Another Language
    By zanshin777 in forum Word Formatting & General
    Replies: 1
    Last Post: 06-21-2017, 08:47 PM
  2. Auto correction of cell duplicates
    By damu_prabhakar in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-19-2014, 02:23 AM
  3. [SOLVED] Lower Case to Upper Case but No Auto Correction : Solved by Mod (6StringJazzer)
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-27-2014, 10:44 AM
  4. turning off auto spell correction
    By cprpacific in forum Excel General
    Replies: 3
    Last Post: 07-08-2013, 04:20 PM
  5. Auto correction of entries in a cell matrix
    By damu_prabhakar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 07:04 AM
  6. [SOLVED] Auto Correction
    By david.salazar in forum Excel General
    Replies: 1
    Last Post: 07-19-2006, 12:30 PM
  7. Auto Editing the Row source.
    By countryfan_nt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-12-2005, 08:24 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