P
Paul
Hi,
I'm trying to make a spreadsheet wherby formulas are automatically
entered in column A, dependent on data being in column B.
Brad helped me out with the following code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 Then
If IsEmpty(Target.Value) Then
Target.Offset(0, -1).Clear
Else: Target.Offset(0, -1).Formula = "=(b1*2)"
End If
End If
End Sub
This works like a charm, but I fogot to mention in my original post
that I would like the formula entered to be: b1 in a1, b2 in
a2,...,b99 in a99 , possibly an array formula.
Any help would be greatly appreciated.
Paul
I'm trying to make a spreadsheet wherby formulas are automatically
entered in column A, dependent on data being in column B.
Brad helped me out with the following code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 Then
If IsEmpty(Target.Value) Then
Target.Offset(0, -1).Clear
Else: Target.Offset(0, -1).Formula = "=(b1*2)"
End If
End If
End Sub
This works like a charm, but I fogot to mention in my original post
that I would like the formula entered to be: b1 in a1, b2 in
a2,...,b99 in a99 , possibly an array formula.
Any help would be greatly appreciated.
Paul