Code: Select all
Private Sub Worksheet_Change(ByVal Target As Range)
Call ColorandBold
End Sub
Code: Select all
Private Sub Worksheet_Change(ByVal Target As Range)
Call ColorandBold
End Sub
Hans / Stuart, perhaps the desire is to have the macro only work one one specific worksheet in the workbook, i.e. have macro work when Steet1 is active but NOT when any other is the active sheet?ABabeNChrist wrote:...only run on selected sheet.
Err..., yes. This obvious point came to me about 30 seconds after I clicked submit.HansV wrote:But the Worksheet_Change event of Sheet1 will only occur if the user changes a cell on Sheet1; this normally requires Sheet1 to be the active sheet
Code: Select all
Private Sub App_SheetChange(ByVal sh As Object, ByVal Target As Range)