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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.