Using Header from a range of cells on another sheet so that cell width can be different

D

dollinger64

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top