J
John Michl
I'm using the code below to change slide names from the PPT assigned
"Slide10" to something more meaningful for the code I'm using
elsewhere. However, these names don't stick after closing the
document and reopening. I'm using PPT 07. Am I doing something
wrong? Any help would be appreciated.
Sub ChangeSlideName()
strNewName = ActiveWindow.View.Slide.Name
strNewName = InputBox("Current slide name is " &
ActiveWindow.View.Slide.Name & vbCrLf & vbCrLf & _
" Enter new name: ", "Rename Slide",
ActiveWindow.View.Slide.Name)
ActiveWindow.View.Slide.Name = strNewName
MsgBox "Slide name is now: " & ActiveWindow.View.Slide.Name
End Sub
"Slide10" to something more meaningful for the code I'm using
elsewhere. However, these names don't stick after closing the
document and reopening. I'm using PPT 07. Am I doing something
wrong? Any help would be appreciated.
Sub ChangeSlideName()
strNewName = ActiveWindow.View.Slide.Name
strNewName = InputBox("Current slide name is " &
ActiveWindow.View.Slide.Name & vbCrLf & vbCrLf & _
" Enter new name: ", "Rename Slide",
ActiveWindow.View.Slide.Name)
ActiveWindow.View.Slide.Name = strNewName
MsgBox "Slide name is now: " & ActiveWindow.View.Slide.Name
End Sub