Re: Read Document Name Programatically as Search Criteria



Hi Ted,

I think you're looking for the following:
With Dialogs(wdDialogEditFind)
.Find = ActiveDocument.Name
.Show
End With

HTH,
Dave

"Ted" <Ted@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:17B13CC7-FDF3-4EB3-B4FD-6E065EFDEB5A@xxxxxxxxxxxxxxxx
> Would someone tell me how to read the document name into a Search & Find
> dialog (input) box within the document to search as a Keyword.
> Tia,
> Ted


.



Relevant Pages