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);
}