![]() |
Is it possible to enter variable data into a header?
In composing a report of data which changes by date, is it possible to set
the header up to include variable date (as opposed to inserting a date time or file name)? Is it possible to control data printed in a report so that there are no orphans (data for a list that runs longer than the space available on the remaining page)? Thanks for the help |
Is it possible to enter variable data into a header?
First enter this macro:
Sub Macr() With ActiveSheet.PageSetup .CenterHeader = Cells(1, 1).Value End With End Sub Put something in A1 (like the date), run the macro and the header will be updated. -- Gary''s Student "BobbJ" wrote: In composing a report of data which changes by date, is it possible to set the header up to include variable date (as opposed to inserting a date time or file name)? Is it possible to control data printed in a report so that there are no orphans (data for a list that runs longer than the space available on the remaining page)? Thanks for the help |
All times are GMT +1. The time now is 09:47 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com