ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Command Button Macro (https://www.excelbanter.com/excel-programming/361820-command-button-macro.html)

Patty[_3_]

Command Button Macro
 
I would like to creat a "command button" for users of my spreadsheet to
undo all autofilters. Is there a written macro for this?


Don Guillett

Command Button Macro
 
Sub showall()
On Error GoTo away
ActiveSheet.ShowAllData
away:
End Sub

--
Don Guillett
SalesAid Software

"Patty" wrote in message
oups.com...
I would like to creat a "command button" for users of my spreadsheet to
undo all autofilters. Is there a written macro for this?





All times are GMT +1. The time now is 10:08 AM.

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