+ Reply to Thread
Results 1 to 3 of 3

Checking on possibility of VBA based upon Font color

  1. #1
    Forum Contributor
    Join Date
    05-09-2017
    Location
    NC
    MS-Off Ver
    2013
    Posts
    103

    Checking on possibility of VBA based upon Font color

    Normally I have a sheet ready to go with the question in hand but I am not at the office at this point.

    I have a spread sheet and on the tab titled "Data Entry" I have it set to turn an entry red if it is outside of the tolerances. Since many different types of samples are entered in the "Data Entry" tab the tolerances vary so I have another tab with all the tolerances on that sheet and conditional format "Data Entry" to turn the font red when it is outside of the limits. This part works great and out of tolerance limits turn red as expected.

    What I was curious about is when an font color is red, is there a VBA that will show a prompt asking "Are you sure this entry is correct and you verified test?" and the operator would have to clink a yes or no button. No allowing the correction of a typo. The only red font on the sheet is stuff that is out and requires a second look or derogation so all red font is bad in this case.

    Thank you for the time and my apologies for not providing a sample sheet but I'm thinking someone may know without needing one about the possibilities of doing this.
    Last edited by Stryfe; 03-22-2019 at 12:15 PM. Reason: Thread Title Adjustment

  2. #2
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Checking on possibility of VBA

    Would not validation as the data is entered be a better route. If outside of tolerance then the message for confirmation. The conditional formatting would then continue marking the items as red.

  3. #3
    Forum Contributor
    Join Date
    05-09-2017
    Location
    NC
    MS-Off Ver
    2013
    Posts
    103

    Re: Checking on possibility of VBA based upon Font color

    nigelog,

    The tolerances change based upon what test product it is. For example BS-15 has a shrinkage of 4.0 to 6.0 while AR-69 has a different shrinkage of 5.0 to 9.0 plus a lot of other different test factors so I use the table on another tab with a conditional format using vlookup saying if the test name is this to use these values. If it was all the the same test limits I would use that. It could be I'm missing something though.

    jeffrybrown,

    is this title better? Ironcially I'm guessing it was a vague title so I added some more to it since you didn't specify what I needed. If this is not acceptable let me know what needs to be corrected.

+ 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. Excel Formula Performance and checking the possibility with VBA
    By dhineshreddy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2019, 09:53 AM
  2. [SOLVED] Any possibility to set a width pixelwise?
    By roskalov in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2017, 08:27 AM
  3. [SOLVED] an IF formula possibility?
    By widener in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2013, 10:18 PM
  4. vlookup possibility?
    By wannabe_guru in forum Excel General
    Replies: 4
    Last Post: 05-08-2012, 09:00 AM
  5. If/Then Formula Possibility
    By El Dokablo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-12-2010, 08:57 PM
  6. If / Then Formula possibility?
    By Envoke in forum Excel General
    Replies: 3
    Last Post: 10-29-2008, 02:08 PM
  7. Question about possibility
    By ¥ª®ºß¡ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2007, 09:55 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