How to place the code in a do while loop?

Asked By 0 points N/A Posted on -
qa-featured

Hi friends,

I would like to ensure this form for the entire page in word.

Please help me to find a method.

If Options.CheckGrammarWithSpelling = True Then

  • Selection.Comments.Add Range:=Selection.Range
  • Selection.TypeText Text:="WRONG!!!"

 

  • 'ActiveDocument.CheckGrammar

Else 'ActiveDocument.CheckSpelling 'Selection.Comments.Add Range:=Selection.Range End If End Sub

I am totally confused. Please help.

Thanks a lot.

SHARE
Answered By 0 points N/A #152601

How to place the code in a do while loop?

qa-featured

Do while is a method from many of methods that is used for looping but it's processing manner differ from other methods like that do

{some code that will be executed} while (the condition is fulfilled) you can place your first line as a while condition do {code you need to do it} while (Options.CheckGrammarWithSpelling = True) finally if  that not succeeded.

I'll need you to write to me what is your full procedure and I'll be happy to learn you what exactly to do.

Regards

Login/Register to Answer

Related Questions