+ Reply to Thread
Results 1 to 3 of 3

conditional formatting updated by vba

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    conditional formatting updated by vba

    hi
    can you update conditional formatting in vba,sheet4 has conditional formatting highlighting rows using a textbox,if i add another say 10 rows it only looks up the original settings,have tried to increase number of rows but does not work or i can not get it to work,would like it to after i enter new data to extend its search and when entering a st number look through all sheet4,is this possible,as usual any help would be good
    thanks
    cheers colin
    Attached Files Attached Files
    Last edited by cfinch100; 04-21-2013 at 06:12 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,936

    Re: conditional formatting updated by vba

    I don't quite understand what you're up to (I deleted your formats ); but, assuming you want to highlight rows where Column A value is equal to textbox value:
    1. I created a named range on sheet four that will update when rows are added.:
    Formula: copy to clipboard
    =OFFSET(Sheet4!$A$2,0,0,COUNTA(Sheet4!$A:$A),13)

    2. With A3:M27 selected applied formula
    Formula: copy to clipboard
    =$A3=$Q$2

    and entered "=sheet4id" in the applies to box
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: conditional formatting updated by vba

    hi
    thats exactly what i wanted thanks if i add more rows i wanted it to update and when i enter in textbox st number to incorporate the new rows , i kept having to format if i entered more
    many thanks colin

+ 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