Hi
I have a line of code which is attached to VBA command button in a slide presentation in Powerpoint 2007. There are two buttons which should either change the background colour of the whole presentation to either white or yellow.
When the button is selected (In presentation slide show mode) nothing happens and no errors appear. It seems to ignore the line of code for those button.
The line of code for the white button is:
ActivePresentation.SlideMaster.Background.Fill.BackColor.RGB = 255255255
The line of code for the yellow button is:
ActivePresentation.SlideMaster.Background.Fill.BackColor.RGB = 2552550
I have tried everything, savng the presentation as a presentation show file and breaking down the line of code but i can not find what the problem is.
Could anyone help me?
Thank you
Jess