Free Support Forum -

Repeating column headers while printing


I want to repeat column headers,in every page while printing.I used below code it is not working.It is showing A,B,C... columns name in next page in print preview.How to get column name in next page.

pageSetup.PrintHeadings = True



Yes. Your code is correct and enough for showing columns name in print preview.

Please check for more detail information.