To proceed with execution after opnning the dialog
We have a situation where we have to open a dialog in the MS word and have to perform some operations in that dialog.
I am able to open the dialog through code but script is waiting for user input ( we have to close the dialog to procced).
My requirement is Dialog should be opened but code should not wait. Please help me in this, if any one has any ideas
Find the code which i tried..
Set Word = CreateObject("Word.Application")
Word.visible = true
Set Doc = Word.Documents.Add
Set dlgParagraph =Word.Dialogs(wdDialogFormatParagraph)
MsgBox "Right indent = " & dlgParagraph.RightIndent
.KeepWithNext = 1
MsgBox "Right indent after updation = " & .RightIndent
'msgbox "closed button" & .show
Re: To proceed with execution after opnning the dialog