Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Using Header from a range of cells on another sheet so that cell width can be different

I have found lots of examples of how to use the beforeprint event to
print a single cell in the headers. I have a database on one sheet
that has column widths that do not line up with the column widths in
my header. I'd like to be free to set up the header on another sheet
in a range of A1:L5 as the header when I print the database. Can this
be done with VBA. If so can you provide an example of the code. Is
there another way with VBA. The page setup use rows and columns
require the header to on the same page with the same widths?

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
Change the width of the Header panes so text will fit JudiR Setting up and Configuration of Excel 1 September 22nd 09 06:24 PM
How can I select a range of cells for header? emil Excel Programming 2 June 11th 06 10:38 AM
Seeking Help with Cell/Range Height and Width Properties Joseph Geretz Excel Programming 4 April 7th 06 08:09 PM
Creating a Dynamic Named Range Using Sheet Name and Column Header burl_rfc_h Excel Programming 8 February 13th 06 10:53 PM
hOW DO i CHANGE COLUMN WIDTH FOR ONLY A SELECT RANGE OF CELLS? RCONLON_291 Excel Discussion (Misc queries) 2 September 16th 05 11:24 AM


All times are GMT +1. The time now is 12:29 PM.

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"