本示例为在第一个窗口中,显示被选中的幻灯片的索引值。
MsgBox Windows(1).Selection.SlideRange.SlideIndex