Conditional Format Font Size

L

LCalaway

Hello-

I am attempting to use Conditional Formatting for the first time. I see
that you can change the color of a font, make it bold, or italicize it. I
do not see a place to make the font larger if a condition is met/not met.
If this change can be made accomplished here, how does one do it? Is there
a better way to handle it aside from creating a second text box?

Thank you.

LCalaway
 
M

Marshall Barton

LCalaway said:
I am attempting to use Conditional Formatting for the first time. I see
that you can change the color of a font, make it bold, or italicize it. I
do not see a place to make the font larger if a condition is met/not met.
If this change can be made accomplished here, how does one do it? Is there
a better way to handle it aside from creating a second text box?


Changing the font size might also change the size of a can
grow/shrink text box, which in turn may invalidate the
section formatting, which then causes . . ..

Use a second text box.
 
L

LCalaway

I understood the limitations when I asked the question. In the situation
that this would be applied, there doesn't seem to be any limitation. Is
there a way to use the same text box? This would be totally preferable
under the circumstances.

LCalawy
 
M

Marshall Barton

Not with conditional formatting or a single text box
ecpression.

However, if you're willing to use VBA in the section's
Format event procedure, then it's very straightforward:

If <some condition> Then
Me.textbox.FontSize = 12
Else
Me.textbox.FontSize = 8
End If
 
L

LCalaway

Thank you for the help.
L Calaway


Marshall Barton said:
Not with conditional formatting or a single text box
ecpression.

However, if you're willing to use VBA in the section's
Format event procedure, then it's very straightforward:

If <some condition> Then
Me.textbox.FontSize = 12
Else
Me.textbox.FontSize = 8
End If
--
Marsh
MVP [MS Access]


I understood the limitations when I asked the question. In the situation
that this would be applied, there doesn't seem to be any limitation. Is
there a way to use the same text box? This would be totally preferable
under the circumstances.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top