ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   default footer for charts (https://www.excelbanter.com/charts-charting-excel/185836-default-footer-charts.html)

Shanx

default footer for charts
 
Hello,

By looking through the thread relating to XLStart & book.xlt and sheet.xlt,
i've been able to setup my default excel workbook to have the default footer
that i would like for all sheets.

I attempted to make one for charts, with only a chart sheet, but realized
that it would contain the data i used to make the chart sheet show up. Also
if I tried to save with only a chart sheet and no source sheet it warn me
that i'm saving a chart with no references.

I guess what i would like to know, is there a way to have the same footers
on a new chart as i have set up for in sheet.xlt.

Thanks,
David
p.s. my default workbook still only has 3 sheets and no chart, but i would
like when a new chart is made in any workbook to have this footer.

Shane Devenshire

default footer for charts
 
Hi,

You might consider adding code to the

Private Sub Workbook_BeforePrint(Cancel As Boolean)

End Sub

or

Private Sub Workbook_NewSheet(ByVal Sh As Object)

End Sub

events.

Just record the steps and then paste the relevant code into the above
subroutines. Note that if the only thing you are using the sheet.xlt for is
the header and footer then the NewSheet subroutine is probably all you need.

Cheers,
Shane Devenshire
Microsoft Excel MVP


"Shanx" wrote in message
...
Hello,

By looking through the thread relating to XLStart & book.xlt and
sheet.xlt,
i've been able to setup my default excel workbook to have the default
footer
that i would like for all sheets.

I attempted to make one for charts, with only a chart sheet, but realized
that it would contain the data i used to make the chart sheet show up.
Also
if I tried to save with only a chart sheet and no source sheet it warn me
that i'm saving a chart with no references.

I guess what i would like to know, is there a way to have the same footers
on a new chart as i have set up for in sheet.xlt.

Thanks,
David
p.s. my default workbook still only has 3 sheets and no chart, but i would
like when a new chart is made in any workbook to have this footer.




All times are GMT +1. The time now is 07:31 PM.

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