H
Hari Prasadh
Hi,
Whenever I print a word document I automatically want to add page numbers to
it, if it doesnt exist already.
basically a before_print event (I have used excel to some extent)
I recorded this macro
Sub Macro1()
Selection.Sections(1).Footers(1).PageNumbers.Add PageNumberAlignment:= _
wdAlignPageNumberRight, FirstPage:=True
End Sub
Please tell me the syntax for before_print and where to store this macro so
that each time I fire a print of any "scratch document" page numbers get
added automatically.( i always forget to add page numbers to my prints)
Whenever I print a word document I automatically want to add page numbers to
it, if it doesnt exist already.
basically a before_print event (I have used excel to some extent)
I recorded this macro
Sub Macro1()
Selection.Sections(1).Footers(1).PageNumbers.Add PageNumberAlignment:= _
wdAlignPageNumberRight, FirstPage:=True
End Sub
Please tell me the syntax for before_print and where to store this macro so
that each time I fire a print of any "scratch document" page numbers get
added automatically.( i always forget to add page numbers to my prints)