Macros

R

Rich

I want to be able to write a macro which does the following after you press
"ctrl-d".

1. Show document properties. Once info added and OK clicked, move to
2. Save as...waits for directory and filename prompt. Click Save and move
to...
3. Print...wait to ask for how many copies, etc.

I have tried recording a macro, but this does not seem to want to prompt for
filename, display properties or show the "file/print..." screen.

About the only bit I can do is to assign the macro (that doesn't work) to
ctrl-d!!!

Can anyone help me?

Rich
 
H

Helmut Weber

Hi Rich

Sub Test655234()
On Error Resume Next
Application.Dialogs(750).Show
' constant is missing !!!
Application.Dialogs(wdDialogFileSaveAs).Show
Application.Dialogs(wdDialogFilePrint).Show
End Sub

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 

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