Hi,
Just been asked to help and VBA is new to me, can you help?
I'm running this sub as a tally which works ok
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$T$10" Then
Range("S10").Value = Range("S10").Value + _
Range("T10").Value
End If
End Sub
I need help with the following...
1.If the value is less than zero I would like it to alert with a message box.
2.Can this be done for a range of cells (T10-T55)?
3.Can 1. be done without asking it to run, i.e. automatically?
Please help as I didnt know VBA existed until Thursday and it's a steep curve! Thanks
Just been asked to help and VBA is new to me, can you help?
I'm running this sub as a tally which works ok
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$T$10" Then
Range("S10").Value = Range("S10").Value + _
Range("T10").Value
End If
End Sub
I need help with the following...
1.If the value is less than zero I would like it to alert with a message box.
2.Can this be done for a range of cells (T10-T55)?
3.Can 1. be done without asking it to run, i.e. automatically?
Please help as I didnt know VBA existed until Thursday and it's a steep curve! Thanks