Hello,
How could I reference Variables properly using VBA? Let's say I have a Variable named "Length" and I wanted to use the TextJoin formula within VBA to reference the variables "Length" and the variable "i". How could I do it?
I played around with a few variations but could not figure it out. This is what I have so far, which is wrong:
Any help would be greatly appreciated.
How could I reference Variables properly using VBA? Let's say I have a Variable named "Length" and I wanted to use the TextJoin formula within VBA to reference the variables "Length" and the variable "i". How could I do it?
I played around with a few variations but could not figure it out. This is what I have so far, which is wrong:
VBA Code:
"=TEXTJOIN(""-"",, & length & , & Range("A" & i) & )"
Any help would be greatly appreciated.