Juggler_IN
Active Member
- Joined
- Nov 19, 2014
- Messages
- 358
- Office Version
- 2003 or older
- Platform
- Windows
I want the re-calculate sheet (F9) when there is change in format --- from bold to un-bold and vice versa in Range ("A4:A65536").
I have a tiger code for change in cell values. How can we add the BOLD/UNBOLD aspect?
I have a tiger code for change in cell values. How can we add the BOLD/UNBOLD aspect?
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim KeyCells As Range
' The variable KeyCells contains the cells that will cause an alert
' when they are changed.
Set KeyCells = Range("A4:A65536")
If Not Application.Intersect(KeyCells, Range(Target.Address)) Is Nothing Then
' Display a message when one of the designated cells has been changed.
MsgBox "Cell " & Target.Address & " has changed."
Calculate
End If
End Sub
Last edited: