Data Validation with "VBA Refreshing" out of order
"Debra Dalgleish" wrote...
If you want the same code to run for either column, you could use:
If Target.Column = 2 Or Target.Column = 9 Then
If you want different code to run in specific columns, you could use:
'======================
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo errHandler
If Target.Cells.Count 1 Then GoTo exitHandler
Select Case Target.Column
Case 2, 9
If Target.Value = "" Then GoTo exitHandler
[...]
Thanks again for your prompt replay, your guidelines are useful for building
a spreadsheet in the factory concernig a ExpenditureNote template for the
reimbursement fuel cost when associates use their own car and not the
company ones.
Kind regards,
Marc
Italy
|