ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Porgramme a undo,Redo on a form (https://www.excelbanter.com/excel-programming/353887-porgramme-undo-redo-form.html)

vqthomf

Porgramme a undo,Redo on a form
 
Hi does anyone know a good way of programming a undo cotrol on a form?.
TIA
Charles

Gary L Brown

Porgramme a undo,Redo on a form
 
Assume the button name on the form is "CommandButton1"...

Private Sub CommandButton1_Click()
Application.Undo
End Sub

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"vqthomf" wrote:

Hi does anyone know a good way of programming a undo cotrol on a form?.
TIA
Charles



All times are GMT +1. The time now is 02:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com