Results 1 to 7 of 7

Thread: Problem... Need your great help...

Hybrid View

  1. #1
    Frenzied Member cssriraman's Avatar
    Join Date
    Jun 2005
    Posts
    1,465

    Re: Problem... Need your great help...

    Hi,

    Use the following code:
    VB Code:
    1. With objWdRange.Find
    2.     Do While .Execute(FindText:=wdText, Format:=False, MatchCase:=True, _
    3.                       MatchWholeWord:=False, MatchAllWordForms:=False) = True
    4.         Count = Count + 1
    5.         If .Found Then
    6.             If Checkbox1.Value = True Then
    7.                 objWdRange.Range.HighlightColorIndex = wdYellow
    8.             End If
    9.         End If
    10.     Loop
    11. End With
    ___________________
    CS.
    Last edited by cssriraman; Dec 2nd, 2005 at 04:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width