View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Cone[_2_] Jim Cone[_2_] is offline
external usenet poster
 
Posts: 1,549
Default Finding a Character in a String Using VBA


Use the InStr function...
InStr(start, string1, string2, compare type)

--
Jim Cone
Portland, Oregon USA


"BVass"

wrote in message
Hi,
I am trying to return an integer for the number of characters from the left
of a string that the character "/" is located.
I need to do this using VBA as I am trying to trim the value of a cell.
Can anyone help?
BVass