VBAlearner4work
New Member
- Joined
- Sep 17, 2018
- Messages
- 3
Hi everyone,
I'm getting quite confused with a VBA code that i'm trying to implement.
I have a formula which consists out of several concatenated parts, which needs to be assigned to a specific cell:
.Range("C1").Formula="INDEX(E" & Cstr(i) & ":AA" & Cstr(i) & ";1;MATCH($D$17;$E$2:$AA$2;0))"
in which i is an iterator(1,2,3...).
i get an error trying to run this, and have pinpointed the error to the part:
.Range("C1").Formula="INDEX(E"
which gives the same error.
any help is appreciated
kind regards,
I'm getting quite confused with a VBA code that i'm trying to implement.
I have a formula which consists out of several concatenated parts, which needs to be assigned to a specific cell:
.Range("C1").Formula="INDEX(E" & Cstr(i) & ":AA" & Cstr(i) & ";1;MATCH($D$17;$E$2:$AA$2;0))"
in which i is an iterator(1,2,3...).
i get an error trying to run this, and have pinpointed the error to the part:
.Range("C1").Formula="INDEX(E"
which gives the same error.
any help is appreciated
kind regards,