Roman numerals
Posted by Jennifer on February 13, 2001 6:28 AM
OK, here is my code:
Worksheets("Sheet1").Activate
For Each sht In Worksheets
sht.Activate
PageCount = 0
Pages = ExecuteExcel4Macro("Get.Document(50)")
For PageCount = 1 To Pages
PageCount = PageCount + 1
ActiveSheet.PageSetup.RightFooter = Application.WorksheetFunction.Roman(PageCount)
Next PageCount
Next sht
I am trying to number the pages in my workbook with Roman numerals. I found the above code in the mrexcel archives. Unfortunately it seems to only print the last page number on all of my pages.
Any thoughts?
Thanks!
Jen