Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Please can anybody help!!!!
How do I copy the font colour of a cell to a textbox. Say, cell "A1" font colour changed to RED, then the textbox that is linked to that cell changes as well. -- Sophie -- Sophie |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This will not work if the cell color is changed using Conditional
Formating, Place this code in the Worksheet Module Private Sub Worksheet_SelectionChange(ByVal Target As Range) TextBox1.BackColor = Range("A1").Interior.Color End Sub |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Curly,
Unfortunately that is what I was looking for. My cells change colour by using conditional formating. I take it there isn't a way then? -- Sophie "CurlyDave" wrote: This will not work if the cell color is changed using Conditional Formating, Place this code in the Worksheet Module Private Sub Worksheet_SelectionChange(ByVal Target As Range) TextBox1.BackColor = Range("A1").Interior.Color End Sub |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Probably not, VBA would be needed to color the cells and textBox
conditionally |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you Curly. I'll have to dig out a conditional vb code to do this!!!!!
some how!!! -- Sophie "CurlyDave" wrote: Probably not, VBA would be needed to color the cells and textBox conditionally |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy cell font colour to textbox? | Excel Discussion (Misc queries) | |||
Textbox font colour change? | Excel Discussion (Misc queries) | |||
Changing font colour depending on cell value | Excel Worksheet Functions | |||
textbox font colour | Excel Discussion (Misc queries) | |||
Change colour of font in a textbox? | Excel Discussion (Misc queries) |