Results 1 to 10 of 10

Conditional Formatting

Threaded View

  1. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,872

    Re: Conditional Formatting

    Replace your first line of code with:

        Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
            "=""OR(" & Replace(Selection.Range("A1").Address, "$", "") & "<$L$31*$R$31," &  Replace(Selection.Range("A1").Address, "$", "")  & ">$L$31*$Q$31)"""
    I have not tested this but would be happy to do so if you provide your file.
    Last edited by 6StringJazzer; 08-29-2017 at 01:47 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 12-08-2016, 03:14 PM
  2. Replies: 9
    Last Post: 03-07-2016, 10:39 AM
  3. Conditional Formatting Removing Previous Conditional Formatting?
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 01:02 PM
  4. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  5. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  6. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  7. Replies: 3
    Last Post: 05-15-2012, 04:13 PM

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