0

Dear All,

I wrote a program in C# to start the powerpoint slide show using example of http://support.microsoft.com/kb/303718 .

I wanted to update the content periodically using this C# program when the slide show is running. The content is an excel table.

However, the content does not change. Anyway to do this?

Geo

PPTPres.SlideShowSettings.Run();
PowerPoint.SlideShowWindows PPTSlideShWin = PPTApp.SlideShowWindows;
while (PPTSlideShWin.Count >= 1)
{
Microsoft.Office.Interop.Excel.Worksheet WkSheet =
(Microsoft.Office.Interop.Excel.Worksheet)Wk.Worksheets["Sheet1"];
Microsoft.Office.Interop.Excel.Range range;
range = WkSheet.get_Range("C7", Missing.Value);
range.Value2 = "Hello";

Wk.RefreshAll();

PowerPoint.SlideShowWindow PPTSWW = PPTSlideShWin[1];
PPTSWW.View.GotoSlide(1, MsoTriState.msoTrue);


}

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by Ramy Mahrous
0

Thats it. Update content while slideshow is running

You need these changes to take place while the presentation is running?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.