當前位置:編程學習大全網 - 電腦編程 - ppt宏裏vb跳轉代碼

ppt宏裏vb跳轉代碼

VBA宏代碼,僅供參考:

sub ptxt()

pt = InputBox("輸入:") '輸入文字

With ActivePresentation.SlideShowSettings '播放幻燈片設置

.Run

End With

If pt = "王和感" Then '輸入的內容,對應特定幻燈片

SlideShowWindows(Index:=1).View.GotoSlide Index:=115 '跳轉到特定幻燈片115張

Else

end if

End sub

  • 上一篇:如何給法蘭劃線鉆孔?
  • 下一篇:MATLAB咋變成中文的啊
  • copyright 2024編程學習大全網