Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Remembering Worksheet View after Event Code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clmarquez - 16 Jan 2006 18:21 GMT
VB gurus please help!

I have conditional formatting specified as worksheet change event code
using the case select method.  However, in order to correctly set the
range of interest, I need to de-select any autofiltering and also
un-collapse all groups on the sheet.

The code works fine, but my problem is that other people will be using
this spreadsheet, and I can see how those people would get ticked off
because if they have the data filtered, and/or only a few groups
un-collapsed, that after they make a cell value change, they will lose
the way they had the spreadsheet filtered and grouped, because the
event code will un-filter everything and un-collapse all groups.

Is there a way you can "remember" how a spreadsheet looks, in terms of
what is filtered and what groups are collapsed or un-collapsed, and
then return to this view after the event code runs?

Thanks,
Chris

Signature

clmarquez

clmarquez - 19 Jan 2006 21:40 GMT
Can anyone help me out with my problem below, or can it simply not be
done in Excel VB?

Signature

clmarquez

Dave Peterson - 19 Jan 2006 22:02 GMT
From Bill Manville:

http://groups.google.co.uk/group/microsoft.public.excel.programming/browse_frm/t
hread/41871ed670aa7f6d/ca424cec598a2806?lnk=st&q=group%3A*excel*+insubject%3A%22
Memorize+insubject%3Aactivated+insubject%3AFilters+insubject%3Ain+insubject%3Aa+
insubject%3Aexcel+insubject%3Aworksheet%22+author%3Amanville&rnum=1&hl=en#ca424c
ec598a2806


or

http://snipurl.com/lqav

Google is very nice!

http://groups.google.com/advanced_group_search

> VB gurus please help!
>
[quoted text clipped - 22 lines]
> clmarquez's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=29386
> View this thread: http://www.excelforum.com/showthread.php?threadid=501746

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.