Hi All
When I try to set a cell's value to be a vlookup formula such as the following
Worksheets("Sheet1").Cells(1, 1).Value = "=VLOOKUP(RC[1], Sheet2" & Chr(33) & "B8:G500, 2,false)"
the value that gets entered into the cell is the following:
=VLOOKUP(B1, Sheet2!'B8':'G500', 2,FALSE)
rather than the desired
=VLOOKUP(B1, Sheet2!B8:G500, 2,FALSE)
Does anybody know where these quotes come from and how I can set a cell to be a vlookup field without these quotes?
Bookmarks