0

I know there are a ton of questions like this one, but I can't seem to get this working right...

I have an inputbox to define the variable "spiffmonth" and I'm trying to use it in a formula like so:

ActiveCell.FormulaR1C1 = "=VLOOKUP(R[2]C[7],RepNameKey!C:C[1],2,FALSE)" & spiffmonth

I have spiffmonth declared as string.

Can someone please help me out here? I'm banging my head against the wall.

Pᴇʜ
  • 56,719
  • 10
  • 49
  • 73

0 Answers0