Latchmaker
Active Member
- Joined
- Sep 30, 2005
- Messages
- 308
I have a spreadsheet with several cells in same row that have similar formulas =IF(ISBLANK(B49),"",VLOOKUP(B49,'ITEMBLZ DOWNLOAD'!C:P,13,0))
I also have a cell that date codes based off of an entry into Cell B49 this is a worksheet_change within the same worksheet as the formulas.
My goal is to eliminate a sheet of formulas and have the worsheet_change just return the values of all my formulas when the same worksheet_change is met.
This is my worksheet_change code
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
Set rng = Target.Parent.Range("B:B")
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, rng) Is Nothing Then
If Target.Value >= 0 Then Target.Offset(0, 13).Value = Now()
End If
Set rng = Target.Parent.Range("H:H")
If Not Intersect(Target, rng) Is Nothing Then
If Target.Value >= 0 Then Target.Offset(0, 8).Value = Now()
End If
End Sub
I feel if someone can help me with the coding for the given formula I can add the other formulas in to this code....
Thank You
I also have a cell that date codes based off of an entry into Cell B49 this is a worksheet_change within the same worksheet as the formulas.
My goal is to eliminate a sheet of formulas and have the worsheet_change just return the values of all my formulas when the same worksheet_change is met.
This is my worksheet_change code
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
Set rng = Target.Parent.Range("B:B")
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, rng) Is Nothing Then
If Target.Value >= 0 Then Target.Offset(0, 13).Value = Now()
End If
Set rng = Target.Parent.Range("H:H")
If Not Intersect(Target, rng) Is Nothing Then
If Target.Value >= 0 Then Target.Offset(0, 8).Value = Now()
End If
End Sub
I feel if someone can help me with the coding for the given formula I can add the other formulas in to this code....
Thank You
Last edited: