View Single Post
  #5   Report Post  
BP522
 
Posts: n/a
Default

Seems to work perfectly, Thanks a lot ...

"Cindy M -WordMVP-" wrote:

Hi ?B?QlA1MjI=?=,

I am not so familiar with writing Macros, where can I
learn more about macros in general

The word.mvps.org site is a good place to start, usually.

specfically how to write this
fileprint macro?

The word.vba.beginners newsgroup would be a good place to
get help. But here's some code to get you started. No
guarantee it will do exactly what you need, though:

Sub FilePrint()
ActiveDocument.Formfields.Shaded = False
Dialogs(wdDialogsFilePrint).Show
ActiveDocument.FormFields.Shaded = True
End Sub

'For the Print toolbar button
Sub FilePrintDefault()
ActiveDocument.Formfields.Shaded = False
ActiveDocument.PrintOut
ActiveDocument.FormFields.Shaded = True
End Sub


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)