Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Convert Conditional Formatting Into VBA Code Button


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,C 6)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
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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Conditional Formatting does not convert HTML Al Prior Excel Discussion (Misc queries) 0 April 14th 08 02:01 AM
Conditional Formatting using code Ayo Excel Discussion (Misc queries) 5 February 29th 08 01:09 PM
Conditional Formatting using VBA Code andibevan Excel Programming 2 July 9th 04 04:43 PM
Conditional Formatting a Button Allan[_3_] Excel Programming 0 January 19th 04 02:06 PM


All times are GMT +1. The time now is 11:54 PM.

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"