Hi, I have a dynamic array astrEmailAddress which gets populated at run time with a list of email addresses eg,
astrEmailAddress(0) = "aa@aa.com"
astrEmailAddress(1) = "bb@bb.com"
astrEmailAddress(2) = "cc@cc.com"
Im need to turn this into a two dimensional array like,
astrEmailAddress(0,0) = "aa@aa.com"
astrEmailAddress(1,0) = ""
astrEmailAddress(0,1) = "bb@bb.com"
astrEmailAddress(1,1) = ""
astrEmailAddress(0,2) = "cc@cc.com"
astrEmailAddress(1,2) = ""
Where the second dimension will be a zero length string.
I have been trying to use Redim preserve but haven't had any luck. Just wondering if any one can help a lost soul out like usual
Thanks
Justin
astrEmailAddress(0) = "aa@aa.com"
astrEmailAddress(1) = "bb@bb.com"
astrEmailAddress(2) = "cc@cc.com"
Im need to turn this into a two dimensional array like,
astrEmailAddress(0,0) = "aa@aa.com"
astrEmailAddress(1,0) = ""
astrEmailAddress(0,1) = "bb@bb.com"
astrEmailAddress(1,1) = ""
astrEmailAddress(0,2) = "cc@cc.com"
astrEmailAddress(1,2) = ""
Where the second dimension will be a zero length string.
I have been trying to use Redim preserve but haven't had any luck. Just wondering if any one can help a lost soul out like usual
Thanks
Justin