Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Using Excel 97's Conditional Formatting Form

Can I call Excel's Conditional Formatting form using code
and use the results of the criteria entered in my own way?

The users want to be able to apply four conditional
formats and Excel has a maximum of three that can be
used.

This would be easy if they were just formatting the cell
based on the cell's contents alone. What they are doing,
however, is comparing the cell's contents to another cell
and using a color scheme based on how the cells compare to
each other. They've been able to set up the first cell in
a row with their formulas and conditional formatting
formulas and then copy by dragging into the other cells in
the row. When they copy, the conditional formats also
copy and adjust to point to the correct cells for
comparison. For instance, if the first cell's conditional
formatting compared A1 to A10 and they dragged to copy
into the second cell, right now the conditional formatting
is adjusting for the second cell and comparing A2 to A11.

So... I was thinking possibly I could let them set up
their first two conditions and drag it across the row.
Then I could present them with a copy of MS's conditional
formatting dialog (for consistency and ease of use) and
they could set up their secondary criteria. The secondary
criteria would only be applied to each cell if the primary
criteria hadn't changed the formatting. I hope this makes
sense.

Can I do this? Can I use Microsoft's form so that I can
get the cell preview, etc. and use the user's entered
values to replace the conditional formatting on only
certain cells?

TIA

~~Jody
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Using Excel 97's Conditional Formatting Form

The conditional formatting dialog will display the formatting that already
exists in the selected cell when it is shown, same as if you showed it from
the menu. If you haven't used all three conditions you can add conditions.
If you have used all three, you can edit the current condtions (or even if
you have less than 3, you can still edit existing).

application.Dialogs(xlDialogConditionalFormatting) .Show


--
Regards,
Tom Ogilvy



"Jody" wrote in message
...
Can I call Excel's Conditional Formatting form using code
and use the results of the criteria entered in my own way?

The users want to be able to apply four conditional
formats and Excel has a maximum of three that can be
used.

This would be easy if they were just formatting the cell
based on the cell's contents alone. What they are doing,
however, is comparing the cell's contents to another cell
and using a color scheme based on how the cells compare to
each other. They've been able to set up the first cell in
a row with their formulas and conditional formatting
formulas and then copy by dragging into the other cells in
the row. When they copy, the conditional formats also
copy and adjust to point to the correct cells for
comparison. For instance, if the first cell's conditional
formatting compared A1 to A10 and they dragged to copy
into the second cell, right now the conditional formatting
is adjusting for the second cell and comparing A2 to A11.

So... I was thinking possibly I could let them set up
their first two conditions and drag it across the row.
Then I could present them with a copy of MS's conditional
formatting dialog (for consistency and ease of use) and
they could set up their secondary criteria. The secondary
criteria would only be applied to each cell if the primary
criteria hadn't changed the formatting. I hope this makes
sense.

Can I do this? Can I use Microsoft's form so that I can
get the cell preview, etc. and use the user's entered
values to replace the conditional formatting on only
certain cells?

TIA

~~Jody



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
Formatting an excel worksheet to create a form Robert SD Excel Discussion (Misc queries) 4 March 20th 09 07:39 PM
Conditional Formating Excel Form JoePineapples New Users to Excel 5 November 8th 06 10:16 AM
Conditional Linking and Formatting across worksheets to form Summary Page - Only pull/link non-null fields J Leckner Excel Worksheet Functions 1 September 22nd 06 04:18 PM
Conditional Formatting For A Cell Other Than The One With The Form Jim J. Excel Worksheet Functions 2 February 19th 06 07:11 PM
Using Excel 97's Conditional Formatting dialog jody Excel Programming 1 October 13th 03 04:37 PM


All times are GMT +1. The time now is 10:19 PM.

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

About Us

"It's about Microsoft Excel"