Quotation mark inside quotations

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to have it search until it finds the quotation mark?
This is what I have and it work for eveything excep a quotation mark(").

MsgBox Left(Me.Height, (InStr(1, Me.Height, " Quotation Mark")) - 1)
 
Left(Me.Height, (InStr(1, Me.Height, Chr$(34))) - 1)

or

Left(Me.Height, (InStr(1, Me.Height, """")) - 1)

(that's 4 double quotes in a row)
 

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

Back
Top