Hello,
Is there a way to add the page number in an excel document with activex ?
Thanks,
R

답변 (1개)

Shuba Nandini
Shuba Nandini 2024년 12월 24일

0 개 추천

Hi,
It is my understanding that you would like to add page number to the Excel Sheet. You can use "PageSetup" object with "CenterFooter" property to set the page numbers for the each sheet using the following command:
activeWorksheet.PageSetup.CenterHeader = "Page &P of &N"
I hope this helps!

제품

질문:

2014년 10월 9일

답변:

2024년 12월 24일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by