Hello Ved,
There really isn't a way to center a heading on a page in EXCEL, because there isn't a page until you print it. It's a spreadsheet. It really doesn't have pages.
What you could do is use colspan, to pick a number of columns that the heading will spread across.
Justify will center it.
Choose a colspan that best fits.
Here is an example......
HEADING CENTER
"MY HEADING"
PRINT
COUNTRY COUNTRY COUNTRY COUNTRY COUNTRY
COUNTRY COUNTRY COUNTRY COUNTRY COUNTRY
COUNTRY COUNTRY COUNTRY COUNTRY COUNTRY
COUNTRY COUNTRY COUNTRY COUNTRY COUNTRY
ON TABLE PCHOLD FORMAT EXL97
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,JUSTIFY=CENTER,
COLSPAN=8,$
ENDSTYLE
END
Hope this helps....
John
WebFOCUS 767 linux, 764 / 717 win/xp
WebFocus 7x, 8x, Win / Linux, any output format