I have a table on slide 2 of my PowerPoint presentation with three values: 100, 120, and 300. I have hyperlinked these values to slides 4, 5, and 6, respectively.
I want to write a VBA code that returns the value from slide 2 (100, 120, or 300) based on which slide I’m on during the presentation.
For example, if I’m presenting slide 4, the code should return 100, if I’m on slide 5, it should return 120, and if I’m on slide 6, it should return 300. How can I implement this in VBA?