conditional formatting font size

Kyle775

Board Regular
Joined
Feb 16, 2005
Messages
230
currently i have a sheet that bolds an entire row if the value in column G is greater than 29. i would like the font to be increased in size based on the same condition. however, as im sure many of you know, conditional formatting does not allow a change in font size (not to mention many other useful formatting options)

i have looked around and found that VBA must be used... however i am not every proficient in vba. any help on this would be great...
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hello, Kyle775,

this works for me
Code:
Option Explicit

Private Sub Worksheet_Change(ByVal Target As Range)
Dim Rng As Range
Dim Cell As Range

Set Rng = Intersect(Target, Columns(7))
If Rng Is Nothing Then Exit Sub

    For Each Cell In Rng
    Cell.EntireRow.Font.Size = IIf(Cell > 29, 14, 10)
    Next Cell

End Sub
and for you ?

kind regards,
Erik
 
Upvote 0
i dont know if this is good news or bad news but i have switched the entire project to access... i still need something that will achieve this result only in an access report. so far my conditional format will not even work... i cant get the entire row to bold if it is greater than 29. is this the right place to discuss?

excuse me....! thanks for your help!!
 
Upvote 0
There is an Access forum just select it from the Jump to dropdown.

How are you trying the conditional formatting in Access?
 
Upvote 0
i was using the conditional function menu
ive changed that to the OnFormat event of the detail section
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top