Dim l_wkbWorkbook As Workbook
Dim l_wksReportSheet As Worksheet
Dim l_lRow As Long
Set l_wkbWorkbook = Application.Workbooks.Open("Y:\Data\Excel\TekTips.xls")
Set l_wksReportSheet = l_wkbWorkbook.Sheets.Add
'Create header
l_wksReportSheet.Cells(1, 2) = "Year"
l_wksReportSheet.Cells(1, 2).Formula = "A"
l_wksReportSheet.Cells(1, 3).Formula = "B"
'Fill all cells with your formulas (this'll fill all three columns at the same time)
For l_lRow = 2 To 11
l_wksReportSheet.Cells(l_lRow, 2) = l_lRow - 1
'Add FALSE if you want excel to look up the ACTUAL value
'this'll return #N/A if the lookup calue is not in the table
'Omit FALSE if you want xl to lookup the NEAREST available value to your lookup value
l_wksReportSheet.Cells(l_lRow, 2).Formula = "=VLOOKUP($D" & l_lRow & ",data,2,False)"
l_wksReportSheet.Cells(l_lRow, 3).Formula = "=VLOOKUP($D" & l_lRow & ",data,3,False)"
Next l_lRow
l_wkbWorkbook.Save
Set l_wksReportSheet = Nothing
Set l_wkbWorkbook = Nothing