+ Reply to Thread
Results 1 to 8 of 8

how to automatically activate a macro when the font color in a cell changes to black

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    how to automatically activate a macro when the font color in a cell changes to black

    I have a macro (MacroFormulas2Values) that changes the formulas in a row to their values. How to automatically trigger this macro after the formulas in a particular row have displayed the results in black font?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: how to automatically activate a macro when the font color in a cell changes to black

    Quote Originally Posted by ainon ithnain View Post
    after the formulas in a particular row have displayed the results in black font?
    Is it happening with the help of Conditional Formatting?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-16-2014
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how to automatically activate a macro when the font color in a cell changes to black

    Yes. The font color of the cells in a row changes to black from white when the results in a cell in that row are different from the contents in the cell immediately above it.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: how to automatically activate a macro when the font color in a cell changes to black

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    01-16-2014
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how to automatically activate a macro when the font color in a cell changes to black

    Survey-Instrument-Report-Sample.xls

    A sample workbook is attached herewith.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: how to automatically activate a macro when the font color in a cell changes to black

    Please understand our pain because your's is a new set of data to our eyes, without proper description about cell/col reference and which sheet and all we can't able to provide the exact solution

  7. #7
    Registered User
    Join Date
    01-16-2014
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how to automatically activate a macro when the font color in a cell changes to black

    As I would appreciate any help, let me elaborate on the programme. I have a summary sheet in which I input readings of survey instruments every week or every month, say. For each new reading of a survey instrument, the reading which I put in the summary sheet is then captured and displayed (via formula) onto a detailed table of readings (on a separate worksheet) of that instrument. Each row of the detailed table shows the reading for a certain week. Once a certain week's reading has been shown in a row of the detailed table, I will then change the reading (computed via formula) to its value. Any new reading for the instrument that is manually typed in the summary sheet will then be captured and shown in the proceeding row. If I do not change the computed result/reading (formula) to its value, then any new reading will still be displayed in the same row as the previous week reading, that is the new week's reading will overwrite the previous week reading. I wish for the changing of the formulas to its values to be done automatically instead of my current method of using a shortcut key to run the macro to change the formula to its value.

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: how to automatically activate a macro when the font color in a cell changes to black

    But your post #7 description does not covered the Conditional Formatting Part

    What I suggest is instead of moving the data here and there... just keep a master data and you can easily extract the required output by way of using PIVOT TABLE and project it in whatever way you want

+ 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. Change the font color to black in the entire workbook
    By fatalcore in forum Excel General
    Replies: 2
    Last Post: 03-31-2011, 02:30 AM
  2. Count only items in cell with black font
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-17-2009, 08:39 AM
  3. getting font color to stay black!
    By buckfoston in forum Excel General
    Replies: 1
    Last Post: 06-02-2006, 05:45 PM
  4. Fill Color and Font Color stay Black and White
    By Hors Categorie in forum Excel General
    Replies: 1
    Last Post: 05-10-2005, 07:20 PM
  5. [SOLVED] Font to change color automatically based on value in cell.
    By mtwelsh72 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2005, 03:06 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