Using VBA to replace text

  • Thread starter Thread starter Jeff Jones
  • Start date Start date
I just found out that the following doesn't work if there's no title
master. I still get a pop-up error message.

Application.DisplayAlerts = ppAlertsNone

Sigh. Yeah.
Maybe I can add a called procedute to the beginning of the change
Legal Line code to test for tyitle master and bypass the error message
with a big honking negative number.

If ActivePresentation.HasTitleMaster Then
' do yer stuff
Else
' never mind
End If
 
Steve,

I like your solution much better. I put together a function that
worked as fine as frog's hair but the "IF" statement is simpler and
cleaner and still bypasses the error message. I'm going with it.

Thank you!

Jeff
 
Back
Top