Autofilter Question

  • Thread starter Thread starter Les Stout
  • Start date Start date
L

Les Stout

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
 
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
| 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
|
|
 
Back
Top