Below is my coding for the counting of sentences in a paragraph of inputted text. So far though i can only get it to count full stops (eg. however many full stops there are there are sentences.). What if i had a question mark though, because that would be the end of a sentence too???? so how do i include question marks in the code below to count question marks AND full stops. (eg. however many full stops AND question marks there are sentences).
hope u caught my drift!!

VB Code:
  1. Private Sub cmdsentences_Click()
  2.     Dim Sentence As String, Char As String
  3.     Dim Count As Integer, I As Integer
  4.     Count = 0
  5.     Sentence = Trim(txtInput.Text)
  6.     If Len(Sentence) > 0 Then
  7.         For I = 1 To Len(Sentence)
  8.             Char = Mid(Sentence, I, 1)
  9.             If Char = "." Then
  10.            
  11.                 Count = Count + 1
  12.             End If
  13.         Next I
  14.             Count = Count
  15.     End If
  16.     lblCountsentences.Caption = Count
  17. End Sub