Negative Column ????
If Biff is correct about all of B being negative..............Jumping in here
with event code to make sure all entries in column B are negative no matter how
entered.
Private Sub Worksheet_Change(ByVal Target As Range)
Const WS_RANGE As String = "A:A"
Dim cell As Range
On Error GoTo ws_exit:
Application.EnableEvents = False
If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
If Left(Target.Value, 1) = "-" Then GoTo ws_exit
Target.Value = Target.Value * -1
cell.NumberFormat = "0;<0"
End If
ws_exit:
Application.EnableEvents = True
End Sub
Gord Dibben MS Excel MVP
On Fri, 6 Jul 2007 18:40:29 -0400, "T. Valko" wrote:
Do you mean that you want to enter 100 and have it automatically convert
to -100?
Will *every* number entered in column B be negative?
|