+ Reply to Thread
Results 1 to 2 of 2

Automating conditional formatting based on > or < cell reference

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    3

    Automating conditional formatting based on > or < cell reference

    Hi I have a spreadsheet where I have used conditional formatting which works fine, however I am wanting the rule to run on a macro so have recorded a macro to highlight sales greater than 2000 and sales lower than 2000 which turns the row red and green, the conditonal formatting worked fine but this did not run on the macro. I also recorded a further macro to remove all conditional formatting on the spreadsheet and then expected to click the button for high sales and this to work but nada.

    Any suggestions folks.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,186

    Re: Automating conditional formatting based on > or < cell reference

    Hi, monalisasmiler,

    Any suggestions folks.
    What about attaching a sample workbook with your recorded code to have a look at to start with?

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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