VB

H

Help

Hi,

Is there a way to actually auto copy one word from the
document that i want and auto paste in the save as dialog
box?

regards,
Help
 
J

Jonathan West

Help said:
Hi,

Is there a way to actually auto copy one word from the
document that i want and auto paste in the save as dialog
box?

regards,
Help

Hello Help

Yes, this can be done. The following code sample takes the currently
selected text for the filename in the Save As dialog.


With Dialogs(wdDialogFileSaveAs)
.Name = Trim$(Selection.Text)
.Show
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top