คืนค่าหรือตั้งค่าส่วนกลางของส่วนหัว อ่าน/เขียน WideString
ไวยากรณ์
property CenterHeader: WideString;
คำอธิบาย
ตัวอย่างนี้พิมพ์วันที่และหมายเลขหน้าที่ด้านบนของแต่ละหน้า
ตัวอย่าง
This example prints the date and page number at the top of each page
Workbook.Sheets[1].PageSetup.CenterHeader := '&D page &P of &N';