Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default In VBA set Slection.AutoFilter show all


How do I set the Selection. AutoFileter Field Criteria to be "All" s
there are no filters on that Column. Thanks for your help.

Selection.AutoFilter Field:=12, Criteria1:=????

I've tried "All" and (All) but doesn't work.


Scot

--
Djmas
-----------------------------------------------------------------------
Djmask's Profile: http://www.excelforum.com/member.php...fo&userid=2441
View this thread: http://www.excelforum.com/showthread.php?threadid=39659

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default In VBA set Slection.AutoFilter show all

Hi Djmask,

Try:

Selection.AutoFilter Field:=12

or

ActiveSheet.AutoFilter.Range.AutoFilter field:=12

(with no criteria assignment)

---
Regards,
Norman



"Djmask" wrote in
message ...

How do I set the Selection. AutoFileter Field Criteria to be "All" so
there are no filters on that Column. Thanks for your help.

Selection.AutoFilter Field:=12, Criteria1:=????

I've tried "All" and (All) but doesn't work.


Scott


--
Djmask
------------------------------------------------------------------------
Djmask's Profile:
http://www.excelforum.com/member.php...o&userid=24414
View this thread: http://www.excelforum.com/showthread...hreadid=396599



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default In VBA set Slection.AutoFilter show all


Worksheets("Sheet1").ShowAllData

I figured it out. Incase anyone else is looking. Amazing what you can
find in the manual.


--
Djmask
------------------------------------------------------------------------
Djmask's Profile: http://www.excelforum.com/member.php...o&userid=24414
View this thread: http://www.excelforum.com/showthread...hreadid=396599

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default In VBA set Slection.AutoFilter show all

Hi Djmask,

Worksheets("Sheet1").ShowAllData

I figured it out. Incase anyone else is looking. Amazing what you can
find in the manual.


This wiil remove all filters, not the single field filter which appeared to
be your object from the originally posed question:

How do I set the Selection. AutoFileter Field Criteria to be "All" so
there are no filters on that Column. Thanks for your help


---
Regards,
Norman



"Djmask" wrote in
message ...

Worksheets("Sheet1").ShowAllData

I figured it out. Incase anyone else is looking. Amazing what you can
find in the manual.


--
Djmask
------------------------------------------------------------------------
Djmask's Profile:
http://www.excelforum.com/member.php...o&userid=24414
View this thread: http://www.excelforum.com/showthread...hreadid=396599



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default In VBA set Slection.AutoFilter show all


Thanks Norman. That is actually what I needed to do I just didn't
realize it at the time.


--
Djmask
------------------------------------------------------------------------
Djmask's Profile: http://www.excelforum.com/member.php...o&userid=24414
View this thread: http://www.excelforum.com/showthread...hreadid=396599

Reply
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
Macro / Autofilter / Show All Data CousinExcel Excel Discussion (Misc queries) 3 February 17th 10 01:28 PM
autofilter show all data RN Mark Excel Discussion (Misc queries) 5 May 10th 09 12:24 PM
Debit/credit amount Slection How? Qazi Ahmad Excel Discussion (Misc queries) 1 January 11th 07 06:07 AM
Autofilter- show dates differently lunker55 Excel Discussion (Misc queries) 3 November 10th 05 06:58 PM
*difficult* importing slection from a txt file to new column Trogent Excel Programming 2 July 19th 05 04:22 AM


All times are GMT +1. The time now is 03:43 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"