Dear members,
I am producing a report and I was asked to display the page numbering in the footnote as 'Page X of Y', I found a solution thanks to you in this forum but the Y (lastpage) was not correct as I have only 5 pages but it shows 6 pages. maybe because of a not shown blank page at the end.
So I was wondering if this ^{lastpage} can be saved in a macro variable?
Best regards,
Hi Cynthia,
I tried to change PAGESIZE,LINESIZE,MARGINS but no solution.
However, this issue comes only when I add the step to create 'Table of contents' by adding "contents=yes notoc_data" to the ODS.
Without those ODS options I get the real Last page number.
Best regards
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.