#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default programming help

This should be easy but...I tried several times and it did not work.
I have a macro that downloads information from an accounting program.
While working on the data I use Auto filter to sort out the
information .. The program works great but while I have filtered data
and I try to get another account (with rows hidden) It stops the
macro. I need for Excel to recognize that there is filtered data and
if so to "show all the rows". Then continue to download the new
info. Any great ideas?

Thanks
Stan

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default programming help

Activesheet.autofilter.mode = false
will remove the dropdown arrows (and show all the data)

With Activesheet
If .FilterMode Then
.ShowAllData
End If
End With

Will show the data, but keep the arrows.

Stan wrote:

This should be easy but...I tried several times and it did not work.
I have a macro that downloads information from an accounting program.
While working on the data I use Auto filter to sort out the
information .. The program works great but while I have filtered data
and I try to get another account (with rows hidden) It stops the
macro. I need for Excel to recognize that there is filtered data and
if so to "show all the rows". Then continue to download the new
info. Any great ideas?

Thanks
Stan


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default programming help

Thanks Dave
That works like a charm... I used the second option ...

May you live to be 120 !! Have a good day

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
CD Programming nelson Excel Discussion (Misc queries) 0 June 4th 06 04:32 PM
programming ernie Excel Discussion (Misc queries) 4 March 13th 06 02:06 PM
Date programming MeMe Excel Worksheet Functions 2 January 16th 06 06:50 PM
Programming help BB Excel Discussion (Misc queries) 3 December 5th 05 01:09 AM


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