Using VBA to replace text

S

Steve Rindsberg

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
 
J

Jeff Jones

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top