Iban Arriola
Iban Arriola

Reputation: 2776

Use undo command in VBA for powerpoint

I am trying to find a way to access the undo command in powerpoint using VBA. In excel, It is easy because Application.Undo works perfectly but in powerpoint it doesn't work. Does it have a way to do it?

Upvotes: 2

Views: 1951

Answers (1)

Kazimierz Jawor
Kazimierz Jawor

Reputation: 19067

You could call it this way:

Application.CommandBars.ExecuteMso "Undo"

which will also work in Excel.

Important! "Undo" need to written exactly as presented.

Upvotes: 2

Related Questions