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


:) Hi All,

I am new in vba coding.I have a problem.I used Autofilter to get som
rows based on criteria.After setting the autofilter on, i used curren
region to copy the records
when iam copying the current region it's working fine.But i want it t
return records as an array,Then what happens is array is returne
with all the records that is unfiltered records.Even if iam takin
CurrentRegion.Rows.count iam getting the total number not the filtere
number .What should i do ?
Can any body hep me on this?

Thanks in advance
xcelio

--
xcelio
-----------------------------------------------------------------------
xcelion's Profile: http://www.excelforum.com/member.php...fo&userid=1628
View this thread: http://www.excelforum.com/showthread.php?threadid=27688

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help AutoFilter

You have to load the array one cell at a time, either testing if the row is
hidden, or using SpecialCells to only work with the visible rows.

--
Regards,
Tom Ogilvy

"xcelion" wrote in message
...

:) Hi All,

I am new in vba coding.I have a problem.I used Autofilter to get some
rows based on criteria.After setting the autofilter on, i used current
region to copy the records
when iam copying the current region it's working fine.But i want it to
return records as an array,Then what happens is array is returned
with all the records that is unfiltered records.Even if iam taking
CurrentRegion.Rows.count iam getting the total number not the filtered
number .What should i do ?
Can any body hep me on this?

Thanks in advance
xcelion


--
xcelion
------------------------------------------------------------------------
xcelion's Profile:

http://www.excelforum.com/member.php...o&userid=16287
View this thread: http://www.excelforum.com/showthread...hreadid=276880



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
excel 2007 autofilter change to 2003 autofilter functionality? jonnybrovo815 Excel Discussion (Misc queries) 1 April 19th 10 10:05 PM
2007 excel autofilter back to 2003 autofilter? jonnybrovo815 Excel Discussion (Misc queries) 3 April 19th 10 08:11 PM
2007 excel autofilter change back to 2003 autofilter? jonnybrovo815 Excel Discussion (Misc queries) 1 April 19th 10 05:53 PM
2007 Autofilter worse than 2003 Autofilter jsky Excel Discussion (Misc queries) 9 October 31st 07 12:14 AM
How to Sort within AutoFilter with Protection on (and AutoFilter . giblon Excel Discussion (Misc queries) 1 February 16th 06 12:23 PM


All times are GMT +1. The time now is 02:07 AM.

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"