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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print heading on each page in ole2

Status
Not open for further replies.

avarghese03

Programmer
May 14, 2004
6
US
Hi,

I need to make an excel report using forms 6i ole2 that repeats column titles on every page when it is printed. The first row is the column title.

Any ideas?

Thanks
Alex
 
Ok, I found a solution to this. Here it is for those who dont have it yet:

Code:
oPageSetup := OLE2.GET_OBJ_PROPERTY(oWorkSheet, 'PageSetup');
OLE2.SET_PROPERTY (oPageSetup, 'PrintTitleRows', '$1:$1');
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top