+ Reply to Thread
Results 1 to 10 of 10

Entire Row Blink when condition meet

  1. #1
    Forum Contributor
    Join Date
    07-25-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    178

    Entire Row Blink when condition meet

    hi all VBA Fox

    I have found many code that blink the cell....but i need slight change ....i am in an organization where i have to manage payments of many types.....
    I want when ever a person's remaining balance comes in to minus then entire row should blink so that no extra payment made to him.

    EX :: E12 has -1200 then from A12 to AS12 blink

    is it possible ??? I think yes!! because u gayys are outstanding in VBA.

    Regards

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Entire Row Blink when condition meet

    This is possible, though I question if it's ideal. If you're trying to prevent an extra payment to him, then you can use data validation with a formula against the cell containing the remaining balance. This will cause anything entered to be rejected by Excel and a dialog box will pop up with a warning.

    Here's how to do it. Let's say the remaining balance is in B1, and you want to prevent entries in B2 for a 0 balance. Click cell B2, click the data tab and select validation. Click the Allow dropdown, then click custom. Enter the following formula in the formula box:=B1<>0. Click the Error Alert tab of the dialog box, enter Balance Error as the title, and The remaining balance is 0, so further entry is not permitted. as the Error Message. Click OK.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Contributor
    Join Date
    07-25-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: Entire Row Blink when condition meet

    Thanks tlafferty

    If B1 has 100 remaining balance and i enter 150 in b2 then 50 should copy along with with A1 C1 and D1(these are the detail) and paste on another sheet because i have deduct 50 from there salaries. is it possible?

    thanks in advance
    Regards

  4. #4
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Entire Row Blink when condition meet

    Can you post a sample of your workbook?

  5. #5
    Forum Contributor
    Join Date
    07-25-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: Entire Row Blink when condition meet

    i am new in this forum how can i post a sample ???
    REgards

  6. #6
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Entire Row Blink when condition meet

    In the lower right hand corner of the reply text box, click Go Advanced, then click the paperclip icon and follow the prompts.

  7. #7
    Forum Contributor
    Join Date
    07-25-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: Entire Row Blink when condition meet

    File is attach.
    Thanks
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Entire Row Blink when condition meet

    This doesn't look like what we've been discussing. This appears to be for landlines and cell phones, and I'm not sure where your data entry will occur. It appears that you want something to happen when you enter values in the mobile and land line columns, and lock out further entry when the consumed yearly balance is zero. It also appears you want to make copies of the data somewhere on another sheet, but I'm not exactly sure how and when you'd like that to happen.


    Please take a minute to include a description in the sample file you sent me to describe with arrows, text boxes, diagrams or whatever else will help make the point clear. In the meantime, the data validation is a simple matter, and I've applied it to the attached file for the presumed data entry area.

    To move data to another sheet upon entry of certain values will probably necessitate a macro. If that's the case, I will need clear information about exactly when that should occur, and exactly what should happen.

  9. #9
    Forum Contributor
    Join Date
    07-25-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: Entire Row Blink when condition meet

    Thanks tlafferty for your concern

    I attach file for understanding.

    Regards
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    07-25-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: Entire Row Blink when condition meet

    Hi Tlafferty

    I think you are bust now a days, i send you excel file for better understanding, i convey my problem there that i need some sort of alarm or flash when ever any employee exceeded their limit, thats why i want blink entire row. But as your suggestion rule of validation can do all such things better then blinking the entire row, so guide me further in the light of me recent file.

    Thanks in advance
    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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