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. 🙂
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.