Split Function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can I use the Split function
to split each character contained in a cell?

SplitByChar = Split(myVal, "")

I try to use this VBA funcion for that particular case but I do not know if
it is possible.

before:
A1:abc;hij

after running vba:
SplitByChar[0]=a
SplitByChar[1]=b
SplitByChar[2]=c
SplitByChar[3]=;
SplitByChar[4]=h
SplitByChar[5]=i
SplitByChar[6]=j

Thanks

Coco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top