View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein \(MVP - VB\) Rick Rothstein \(MVP - VB\) is offline
external usenet poster
 
Posts: 2,202
Default Detecting a single quote from a cells value

"Gary''s Student" wrote:

Sub apostest()
MsgBox (Range("A1").PrefixCharacter)
End Sub


Exactly what I needed, Gary would be proud.


Well, Gary might be proud except, perhaps, for those extraneous parentheses
around the MsgBox argument.<g

Rick