PC Review


Reply
Thread Tools Rate Thread

Convert Conditional Formatting Into VBA Code Button

 
 
Dean P.
Guest
Posts: n/a
 
      17th Dec 2007

I have several conditional formatting applied to my worksheet (Chicago)
within the spreadsheet. I would like to drop the Excel conditional
formatting and create a Excel VBA button that would apply the same
validations as the condtional formatting.

Listed below are two validations that only correspond to row 6 in the
worksheet (Chicago).

The button with the VBA code should include all rows for the worksheet.

Please help me with the code to complete this task.

Thanks,

Column C is Created with the following format
(=IF(OR(A6<>"",B6<>""),CONCATENATE(A6,"-",B6),""))

(Conditional 1)
=AND(COUNTIF(Duplicate_R,C6)+COUNTIF(Duplicate_E,C6)>1,C6<>"")
(Color Blue)

Column F (Row 6)
(Conditional 1)
=AND((COUNTIF(BTVESS_WELS,Z6)+COUNTIF(BTVESS_WRICH,Z6))
<>(COUNTIF(CANOrder_R,A6)+COUNTIF(CANOrder_E,A6)),Z6<>"--")
(Color Red)

(Conditional 2)
=$T6="X"
(Color Green)




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Conditional Formatting to Conventional Formatting timotero@msn.com Microsoft Excel Programming 0 11th Oct 2010 05:09 PM
How can I convert conditional formatting into explicit formatting? Patrick Harris Microsoft Excel Misc 0 9th Apr 2009 12:00 AM
Conditional Formatting does not convert HTML Al Prior Microsoft Excel Misc 0 14th Apr 2008 02:01 AM
No Conditional Formatting button James Bertino Microsoft Access VBA Modules 1 28th Mar 2004 07:49 PM
Conditional Formatting a Button =?Utf-8?B?QWxsYW4=?= Microsoft Excel Programming 0 19th Jan 2004 02:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 AM.