ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Question to experts VBA (https://www.excelbanter.com/excel-programming/278197-question-experts-vba.html)

Mark[_17_]

Question to experts VBA
 
Hi,
Have been possible writting in VBA programme (only in
personal.xls), which for every opened or created workbook
add text to headline of printout?
Question concern MsExcel, but I wonder, if it possible to
do for MS Word and another application MSOffice also.
Thanks for any help.
Regards
Mark


Tom Ogilvy

Question to experts VBA
 
In Excel, you could put it in the BeforePrint event using application level
events.

See Chip Pearson's page on Application.Level Events:

http://www.cpearson.com/excel/AppEvent.htm

You could instantiate them in your personal.xls

--
Regards,
Tom Ogilvy
Mark wrote in message
...
Hi,
Have been possible writting in VBA programme (only in
personal.xls), which for every opened or created workbook
add text to headline of printout?
Question concern MsExcel, but I wonder, if it possible to
do for MS Word and another application MSOffice also.
Thanks for any help.
Regards
Mark





All times are GMT +1. The time now is 12:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com