我正在尝试将 URL 与添加到 URL 末尾的许多不同部分(变量)连接起来。
我有一个按钮,当您单击该按钮时,它将使用当前幻灯片的幻灯片索引将您带到特定站点。
单击按钮时,我希望它转到“google.com/p”+ Slide.Index + slide.ID + ActivePresentation.fileName
我知道语法不正确,但希望你能得到 GIST。
目前我有这个代码:
Private Sub CommandButton21_Click()
Dim projId AS Integer = 617
Dim URL AS String = "www.google.com"
Dim coID = "m01"
Dim coTitle AS String = "New CC Project"
Dim oSl As Slide
Dim pgId
ActivePresentation.FollowHyperlink _
Address:="http://google.com/p" + oSl.SlideID
NewWindow:=True, AddHistory:=True
End Sub
提前致谢