Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to make a range of cells increase their font size when
selected. I found the following macro: Private Sub Worksheet_SelectionChange(ByVal Target As Range) Columns(1).Font.Size = 10 If Target.Column = 1 Then Target.Font.Size = 15 End If End Sub This works great for a single column, but I need 10 columns. Also, if I wanted a color when the cell is selected, how would these be written? Thank you for your help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cannot change font color or cell color | Excel Discussion (Misc queries) | |||
Font size and color change for selected cell only | Excel Programming | |||
Reg. Change of font color in a cell | Excel Worksheet Functions | |||
Change font color in cell | Excel Discussion (Misc queries) | |||
How to change the default Border, Font Color, and Cell Color | Excel Discussion (Misc queries) |