LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Setting up Conditional Formatting in VBA

I'm trying to set up conditional formatting for a range in my VBA code, but
I'm not having any luck. Is conditional format setup only available from the
user interface menu? I see that there's a ConditionalFormats collection as
well as a ConditionalFormat object that I can create and add to a collection,
but how do I define the formula for the conditional format? If I do it on the
UI menu, I would use "Formula Is" and some formula. However, I'd like to do
this in my VBA code. Any ideas? Thanks in advance.
--
Bruce J. Baumann
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula setting cell type to blank and conditional formatting CEG_Staffer[_2_] Excel Worksheet Functions 6 July 17th 09 06:46 PM
Setting Conditional Formatting [email protected] Excel Worksheet Functions 5 April 21st 06 03:23 AM
Setting default formatting Lowkey Setting up and Configuration of Excel 1 March 23rd 06 04:59 PM
Setting Relative Conditional Formatting via Macro [email protected] Excel Programming 3 May 7th 05 01:52 AM
Setting Conditional Formulas Wstohler Excel Programming 4 December 23rd 03 04:43 PM


All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"