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
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.