J
Joshua.Buss
hi..
i'm just tryin to make it so that when the user inserts a 'g', 'r', or
'y' into a cell, the font for that cell changes color appropriately..
this looks fine to me but nothing happens...
---------------------
Option Compare Text
Private Sub Workbook_SheetChange(ByVal sheet As Object, ByVal cell As
Range)
If cell.Value Like "*g*" Then
cell.Font.ColorIndex = 4
ElseIf cell.Value Like "*r*" Then
cell.Font.ColorIndex = 3
ElseIf cell.Value Like "*y*" Then
cell.Font.ColorIndex = 2
End If
End Sub
---------------------
also, how do i create a signature so that i can make this a trusted
macro so i don't have to change the security level in excel just to
make this macro runnable? when i go to tools - digital signature -
choose - there are no options available :/
i'm just tryin to make it so that when the user inserts a 'g', 'r', or
'y' into a cell, the font for that cell changes color appropriately..
this looks fine to me but nothing happens...
---------------------
Option Compare Text
Private Sub Workbook_SheetChange(ByVal sheet As Object, ByVal cell As
Range)
If cell.Value Like "*g*" Then
cell.Font.ColorIndex = 4
ElseIf cell.Value Like "*r*" Then
cell.Font.ColorIndex = 3
ElseIf cell.Value Like "*y*" Then
cell.Font.ColorIndex = 2
End If
End Sub
---------------------
also, how do i create a signature so that i can make this a trusted
macro so i don't have to change the security level in excel just to
make this macro runnable? when i go to tools - digital signature -
choose - there are no options available :/