jeffreyweir
Active Member
Dear Seniors (tehehehe)
Say we have this in B16:
"Dear Seniors"
Is there any way we can call this from VBA:
=MID(B16,ROW(OFFSET(A1,,,LEN(B16))),1)
...in a way that populates a VBA array with this:
{"D";"e";"a";"r";" ";"S";"e";"n";"i";"o";"r";"s"}
If I try var = [MID(B16,ROW(OFFSET(A1,,,LEN(B16))),1)] then I just get a var with "D" in it.
Note that var = [ROW(OFFSET(A1,,,LEN(B16)))] populates an array to var, but put this in a MID function and you only get the first element.
Say we have this in B16:
"Dear Seniors"
Is there any way we can call this from VBA:
=MID(B16,ROW(OFFSET(A1,,,LEN(B16))),1)
...in a way that populates a VBA array with this:
{"D";"e";"a";"r";" ";"S";"e";"n";"i";"o";"r";"s"}
If I try var = [MID(B16,ROW(OFFSET(A1,,,LEN(B16))),1)] then I just get a var with "D" in it.
Note that var = [ROW(OFFSET(A1,,,LEN(B16)))] populates an array to var, but put this in a MID function and you only get the first element.