View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mikeburg[_65_] mikeburg[_65_] is offline
external usenet poster
 
Posts: 1
Default Extract last name into a variable using VBA code


Please help with VBA code that extracts the last name from a cell
containing First name, sometimes middle initial or name, & last name
and put into a variable called LastName.

For example in cell A1 is the name John B Doe

Need LastName variable to contain the word Doe.

Thank you so very much. mikeburg


--
mikeburg
------------------------------------------------------------------------
mikeburg's Profile: http://www.excelforum.com/member.php...o&userid=24581
View this thread: http://www.excelforum.com/showthread...hreadid=503728