billyheanue
Board Regular
- Joined
- Jul 13, 2015
- Messages
- 109
Hi everyone again!
I have a very simple line of code : I am trying to set up a value contained in cell O59 as my col_index_value in a Vlookup. So i dont have to type the column index number in the formula, I can just use ColIndexVal.
Im getting a compile error.
am i referring to the cell right? Whats wronghere?
Thanks all!
I have a very simple line of code : I am trying to set up a value contained in cell O59 as my col_index_value in a Vlookup. So i dont have to type the column index number in the formula, I can just use ColIndexVal.
Im getting a compile error.
Code:
Sub VertLookLiteral()
dim ColIndexVal = cells([59],[15]) as Integer
End Sub
am i referring to the cell right? Whats wronghere?
Thanks all!