View Single Post
  #18   Report Post  
Posted to microsoft.public.excel.programming
GS[_6_] GS[_6_] is offline
external usenet poster
 
Posts: 1,182
Default MID and FIND function in vba


It's 1 line in the thread...

sb:
vTmp = Split(vData(n, 1), " - ")

not:
vTmp = Split(vData(n, 1), " - ")(1)

--
Garry



Aha! Okay, and of course that did fix it.

Many thanks.

Howard


You're welcome!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus