So you just need to code for multiple cells.
Should each row in the target range have a formula applied?
What is the proper formula?
So you just need to code for multiple cells.
Should each row in the target range have a formula applied?
What is the proper formula?
Yes for every row where number gets added.
Formula is:
Where A303 is cell that got changed. Ultimately I will be wanting to change "*-200 day" to be date which is dependant on row above this which is why I'm going macro way(can't figure way to get it working by adding formula to cell itself. I can put date there but how to get it calculate from date above).![]()
=IF(A303="";"";PIBVSearch(2;"server";"";"";"";"";"*-200 day";"";"";"S.0";256;PIBVUnitBatchSearchMasks(TEXT(A303;0);"";"";"";"")))
Result will be date and time.
So something more like this.
Change the formula to your formula with user defined functions.![]()
Private Sub Worksheet_Change(ByVal Target As Range) Dim rngCell As Range If Target.Column = 1 Then For Each rngCell In Target.Cells If rngCell.Value <> "" Then ThisWorkbook.Sheets("gg").Cells(rngCell.Row, 2).Formula = "=1" End If Next End If End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks