A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Yes, you can use the INDEX and MATCH functions in Excel to insert a value into a table based on the row and column numbers.
Here's how you can modify the code to use these functions:
Sub Transfer()
Dim Start_Date As Date Dim End_Date As Date Dim i As Integer Dim Start_Row As Integer Dim End_Row As Integer
Start_Date = Worksheets("Series"). Range("H8") End_Date = Worksheets("Series"). Range("H9")
For i = 18 To 715 If Worksheets("Series"). Cells(i, 4) = Start_Date Then Start_Row = i ElseIf Worksheets("Series"). Cells(i, 4) = End_Date Then End_Row = i End If Next i
For i = Start_Row To End_Row Worksheets("Series"). Cells(i, 3) = Worksheets("INPUTOUTPUT"). Range("C2")
Third Party Application Run Logic Code for processing Inputs
'Results Transfer as below
Worksheets("Series"). Cells(i, 47) = WorksheetFunction.Index(Worksheets("INPUTOUTPUT"). Range("AA87:AA90"), _ WorksheetFunction.Match(i, Worksheets("Series"). Range("B18:B715"), 0), _ WorksheetFunction.Match("AA87", Worksheets("INPUTOUTPUT"). Range("A87:D87"), 0))
Next i End Sub