View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
Postman[_2_] Postman[_2_] is offline
external usenet poster
 
Posts: 6
Default How do you say "begins with"

Alternative, purely for the sake of diversity ...

If ActiveCell.Value Like "[Aa]*" Then
Do Something
End If

Oh, and I like the "Like" operator ;o)


| If Left(ActiveCell.Value,1) = "P" Then
| Do Something
| End If