LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How? - Error message for turning off autofilter with code

I have a button on a worksheet to 'Show All Records'.

There are two ways i found to do it, ie:

ActiveSheet.ShowAllData

and

If ActiveSheet.AutoFilterMode Then
ActiveSheet.AutoFilterMode = False
End If

How do I display a message box saying "All records shown" if the use
clicks the button when the records are not filtered?

I found that the second way erases the filter arrows. I would like th
filter arrows at the top to remain.

Would appreciate anyones help, thanks

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Turning off this message? Terry Pinnell[_2_] Excel Discussion (Misc queries) 2 September 6th 11 03:45 PM
Code has been interupted - error message Jeff Excel Discussion (Misc queries) 0 May 10th 07 03:23 PM
Turning off merge message David P. Excel Discussion (Misc queries) 5 December 30th 05 06:42 PM
turning off trace dependents error message D Griffith Setting up and Configuration of Excel 0 May 3rd 05 05:51 PM
Turning Off AutoFilter With Code Howard Brody Excel Programming 0 August 11th 03 06:49 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"