B
Bob
I have the following three lines of code:
Dim a As Single
a = Worksheets(Sheet1Name).Cells(Sheet1RowPointer, h).Value
a = Round(a * (1 + WorksheetFunction.VLookup(Cells(Sheet1RowPointer, _
Sheet1RespCodeColPointer), "OverheadLookup", 2)), 0)
I'm trying to perform a lookup using the range name "OverheadLookup" but I
get an error message when line 3 executes.
Any help would be greatly appreciated. Thanks.
Dim a As Single
a = Worksheets(Sheet1Name).Cells(Sheet1RowPointer, h).Value
a = Round(a * (1 + WorksheetFunction.VLookup(Cells(Sheet1RowPointer, _
Sheet1RespCodeColPointer), "OverheadLookup", 2)), 0)
I'm trying to perform a lookup using the range name "OverheadLookup" but I
get an error message when line 3 executes.
Any help would be greatly appreciated. Thanks.