+ Reply to Thread
Results 1 to 6 of 6

VBA want to replace cell values and put a comment to show change

  1. #1
    Registered User
    Join Date
    07-15-2019
    Location
    new york usa
    MS-Off Ver
    2010
    Posts
    3

    VBA want to replace cell values and put a comment to show change

    Hi!!!

    I have this code
    ----
    Please Login or Register  to view this content.
    ----
    Its purpose: The code above changes some names for a holdings report so I don't have to do it manually
    The issue: This is sent to other parties and I need to indicate which cells are change . I can't get my code to compile when I try to add a column script
    Hope: To include comments to changed cells
    Last edited by brk30; 11-22-2019 at 06:23 PM.

  2. #2
    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
    44,420

    Re: VBA want to replace cell values and put a comment to show change

    Given it's a series of global replacements, I think you'll struggle to add comments. You could maybe use the global replacement to change the formatting ... maybe a different colour font.
    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


  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
    44,420

    Re: VBA want to replace cell values and put a comment to show change

    Oh, and ...Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional.)

  4. #4
    Registered User
    Join Date
    07-15-2019
    Location
    new york usa
    MS-Off Ver
    2010
    Posts
    3

    Re: VBA want to replace cell values and put a comment to show change

    Changed! Thanks for the update.

  5. #5
    Registered User
    Join Date
    07-15-2019
    Location
    new york usa
    MS-Off Ver
    2010
    Posts
    3

    Re: VBA want to replace cell values and put a comment to show change

    What would be the best sub to change the colour font

  6. #6
    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
    44,420

    Re: VBA want to replace cell values and put a comment to show change

    Use what you've got but use the option in the replace to change format.

+ 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] Get string in Comment Box to show as cell value
    By soidog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2018, 01:53 PM
  2. Replies: 1
    Last Post: 02-27-2018, 11:22 AM
  3. [SOLVED] Show comment on mouse over cell rather than over comment icon....?
    By BellyGas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2015, 09:05 AM
  4. Find and Replace - change code to show msg box
    By colin.dickson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2015, 11:45 AM
  5. Disable Delete Comment, Edit Comment, Show/Hide Comment
    By Shanthan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2013, 06:12 AM
  6. Make OnEntry comment box show all entered values?
    By moleary in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-25-2011, 01:42 PM
  7. [SOLVED] Find comment replace cell value
    By [email protected] in forum Excel General
    Replies: 3
    Last Post: 07-05-2006, 04:45 PM

Tags for this Thread

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