Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mircrosoft access

Status
Not open for further replies.

Tido

Programmer
Jul 18, 2002
8
0
0
CA
i am currently writing vb code in the background of Excel to take query results and format them into an excel spreadsheet so data manipulation can take place instead of just a basic access report. My question is, is there anyway that i can have Excel spit out column Headings at the top of every page when it is sent to the printer(more like an access report) wrather than printing the column headings once and then just spitting out rows of data where by the 10th page you have no clue what each column of numbers is actually representing.
 
In page setup, set your "Rows to repeat at top" to be your column header row - will then print on every page
HTH
~Geoff~
[noevil]
 
The syntax would be:
With ActiveSheet.PageSetup
.PrintTitleRows = "$1:$1"
End With

assuming column titles in Row1
[pipe]
HTH
~Geoff~
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top