Hi All,
I want to create a ppt in which i want to show a numbers on conditions that if the number is greater than zero than that i have to display that number inside Arrow:Up like shape and if the number is less than zero than we have to show that number in down arrow shape.
Is there any way to do this ?
I don't think you can do this with the ODS Powerpoint engine.
However, what you can do is have a template, and then modify it to your liking:
- Just open the PPTX file as a ZIP file with SAS.
- In that ZIP file, you'll find the slides.
- Microsoft's XML is very ugly, but if you saved the template with a down arrow containing the text "TEMPLATE TEXT", you'll find these two elements (arrow and text) in the slide file.
- You can modify these 2 elements and save the file again.
I don't think you can do this with the ODS Powerpoint engine.
However, what you can do is have a template, and then modify it to your liking:
- Just open the PPTX file as a ZIP file with SAS.
- In that ZIP file, you'll find the slides.
- Microsoft's XML is very ugly, but if you saved the template with a down arrow containing the text "TEMPLATE TEXT", you'll find these two elements (arrow and text) in the slide file.
- You can modify these 2 elements and save the file again.
can you please share your code?
Sir you are legend.
Its work.
Thanks a lot.
Good on you for giving it a go and finding the coding syntax. 🙂
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 lock in 2025 pricing—just $495!
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.