Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Autofilter Question

Hi all, i have used the code below to insert a filter in a specific
cell, but it puts the filters in row 2 all used cells ? Am i doing
something wrong ?

Range("E18").AutoFilter


Best regards,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default Autofilter Question

It makes no sense to autofilter a single cell. So, just like when you do an
autofilter manually, Excel guesses what the range should be. If you
specific a multi-cell range however Excel will use it.

--
Jim
"Les Stout" wrote in message
...
| Hi all, i have used the code below to insert a filter in a specific
| cell, but it puts the filters in row 2 all used cells ? Am i doing
| something wrong ?
|
| Range("E18").AutoFilter
|
|
| Best regards,
|
| Les Stout
|
| *** Sent via Developersdex http://www.developersdex.com ***


  #3   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Autofilter Question

Thanks very much Jim.
--
Les


"Jim Rech" wrote:

It makes no sense to autofilter a single cell. So, just like when you do an
autofilter manually, Excel guesses what the range should be. If you
specific a multi-cell range however Excel will use it.

--
Jim
"Les Stout" wrote in message
...
| Hi all, i have used the code below to insert a filter in a specific
| cell, but it puts the filters in row 2 all used cells ? Am i doing
| something wrong ?
|
| Range("E18").AutoFilter
|
|
| Best regards,
|
| Les Stout
|
| *** Sent via Developersdex http://www.developersdex.com ***



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
Autofilter Question Qaspec Excel Programming 0 January 16th 08 05:09 PM
another autofilter question Gary Keramidas Excel Programming 3 November 7th 07 08:23 PM
AutoFilter Question AccessHelp Excel Discussion (Misc queries) 2 September 29th 06 09:25 PM
autofilter question Gary Keramidas[_2_] Excel Programming 2 September 23rd 06 04:25 PM
Autofilter Question Acute Mind[_2_] Excel Programming 2 April 1st 05 02:14 PM


All times are GMT +1. The time now is 05:57 PM.

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

About Us

"It's about Microsoft Excel"