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. 🙂
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.