Isolate Numerical Data in Cell

R

Rick Rothstein \(MVP - VB\)

Okay, I think I see what you are saying... there is a trailing space
Nope, no other generalized white space is possible... otherwise I won't be
able to create a one-liner to handle it.<g>

Well, in thinking about it, that may not be entirely true. I would think
this should work...

Function School(str As String) As String
School = Trim(Split(Split(Application.WorksheetFunction. _
Clean(str), "(")(0), "»")(1))
End Function

Rick
 

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


Top