activex add page number

1 vue (au cours des 30 derniers jours)
Romain
Romain le 9 Oct 2014
Hello,
Is there a way to add the page number in an excel document with activex ?
Thanks,
R

Réponses (1)

Shuba Nandini
Shuba Nandini le 24 Déc 2024
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!

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by