+ Reply to Thread
Results 1 to 5 of 5

Macro to Change the content of a cell

  1. #1
    Forum Contributor
    Join Date
    09-19-2003
    Posts
    226

    Macro to Change the content of a cell

    Hi

    I've got a spreadsheet where in cells in column M appear the following "Room# 9211 : CHECK# 0033578 [10011]". I would to like to be able to replaced all of that by "CHECK# 0033578" only. So, every approriate cell must, at the end of the macro, contain the text Check#_Blank_ followed by a seven digit number.

    I have attached an example of the file.

    Many thanks

    Patish
    Attached Files Attached Files
    Patish

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Macro to Change the content of a cell

    Hi Patish,

    One option:

    Please Login or Register  to view this content.
    Last edited by Arkadi; 03-13-2018 at 04:01 PM.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,522

    Re: Macro to Change the content of a cell

    Another possibility.
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,522

    Re: Macro to Change the content of a cell

    This can be another possibility.
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,522

    Re: Macro to Change the content of a cell

    If you want to replace values in Column "M", as you indicated, change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    for the code in Post# 3 and
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    for the code in Post# 4

+ 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] Auto run macro on cell content change
    By chasoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2017, 11:20 PM
  2. Change content of one cell based on content of another
    By FloraLina in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-24-2014, 08:34 AM
  3. Change content of one cell based on content of another
    By stlellen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2014, 03:26 PM
  4. Change ws3 Cell Content Depending On ws1 Content
    By heliskier89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2011, 04:52 PM
  5. Change cell content based from another cell's content
    By RochesterColonial in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2010, 03:43 PM
  6. Create a macro to change cell content
    By Flaguette in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2007, 11:22 PM
  7. How to change a Macro based on content of a cell
    By Alex in forum Excel General
    Replies: 3
    Last Post: 05-15-2006, 12:35 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