Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Print data in footer using _BeforePrint


I would like print data in the footer of a worksheet.

A previous question on this forum

"Is there a way to manipulate the footer in such a way that eac
successive page printed has a different alpha-numeric number in th
footer. This number would be related to the data on each page e.g. i
could be cell A20 for page1 , cell A40 for page 2, etc."

gave me the way to do this but required a button on the Excel sheet.

Can it be done using the Workbook_BeforePrint command - so that I don'
have to create a new print window to print a selection of pages (or onl
one page) and also maintain the Excel print preview

--
Hans4
-----------------------------------------------------------------------
Hans47's Profile: http://www.excelforum.com/member.php...fo&userid=1760
View this thread: http://www.excelforum.com/showthread.php?threadid=38475

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you get the footer to print in Excel? allshrubs Excel Discussion (Misc queries) 1 January 11th 10 08:00 PM
My header and footer show in print preview but don't print. Nancy Excel Discussion (Misc queries) 1 January 25th 07 09:59 PM
Print Footer with Last Print Date field name Ted Excel Discussion (Misc queries) 1 December 23rd 04 02:46 PM
Print BMP in Header/Footer with VBA? Chuck[_9_] Excel Programming 2 May 1st 04 12:11 AM
Landscape Orientation when Footer set using mso-footer-data Disappear Vish[_2_] Excel Programming 0 November 14th 03 09:28 PM


All times are GMT +1. The time now is 11:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"