Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default conditional formatting via check box


I have a userform called frmLeaveRequest that contains a check box name
chkVac, I want to pass the conditional formatting of Bold, Red Font an
a Border around the contents in Cell C9 in an Execl doc calle
LRForm.xls in worksheet LeaveRequested when chkVac equals true. How d
I accomplish a task like that?

--
cedtech2
-----------------------------------------------------------------------
cedtech23's Profile: http://www.excelforum.com/member.php...fo&userid=3102
View this thread: http://www.excelforum.com/showthread.php?threadid=56312

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default conditional formatting via check box

What I would do is make the routine on the checkbox change the value in
a third "container" cell for instance "J7" (or any unused cell in your
workbook) to true/false when it's checked/unchecked.

Then just set the conditional formating of your cell "C9" to whatever
you want based on the true/false indicator in "J7".

You want to include some code on your from under
frmLeaveRequest_Activate to check the value of "J7" and check/uncheck
the box accordingly when you bring the form back up.

This is all assuming you want to keep that formating once the userform
is deactivated.


cedtech23 wrote:
I have a userform called frmLeaveRequest that contains a check box named
chkVac, I want to pass the conditional formatting of Bold, Red Font and
a Border around the contents in Cell C9 in an Execl doc called
LRForm.xls in worksheet LeaveRequested when chkVac equals true. How do
I accomplish a task like that??


--
cedtech23
------------------------------------------------------------------------
cedtech23's Profile: http://www.excelforum.com/member.php...o&userid=31022
View this thread: http://www.excelforum.com/showthread...hreadid=563127


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
Conditional Formatting to Check for Blanks Daren Excel Worksheet Functions 5 October 15th 08 11:14 PM
how to check for ANY text when conditional formatting? Heather Excel Discussion (Misc queries) 4 September 19th 07 08:10 PM
Check box & conditional formatting Brent Excel Discussion (Misc queries) 4 January 10th 06 05:43 AM
conditional formatting w/ check for beginning odd or even [email protected] Excel Programming 4 December 20th 05 07:48 PM
Check Boxes and Conditional Formatting Steve[_71_] Excel Programming 2 November 29th 04 07:30 PM


All times are GMT +1. The time now is 12:34 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"