+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting Excel Help

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    Dallas, Tx
    MS-Off Ver
    Excel 2007
    Posts
    88

    Conditional Formatting Excel Help

    I am trying to add conditional formating via VBA

    In my spreadsheet the forumula reads
    =N5="Below"

    'Range("L5").FormatConditions.Add Type:=xlExpression, Formula2:="=n5="below""
    ' Range("L5").FormatConditions(2).Interior.PatternColorIndex = xlAutomatic
    ' Range("L5").FormatConditions(2).Interior.ColorIndex = 255
    ' Range("L5").FormatConditions(2).Interior.TintAndShade = 0

    any help would be greatly appreciated.
    I just cant get it to work.
    Last edited by MarkinTX; 01-31-2013 at 06:53 PM.
    http://excelevangelist.blogspot.com/

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Conditional Formatting Excel Help

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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