Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pec1909
 
Posts: n/a
Default Auto update of filters

I have two work books , data, datatype.
Data has column B as datatype, which is populated either 1 or 0 .
Datatype has an autofilter on column A (all 1). Cell
A2=if(data!b2=1,data!b1,"")

This works fine, until I modify the value in data!b2 and then change to
workbook datatype. It will still display Data!b2 data even if it is conflicts
with autofilter.

Question: How do i get the filter to auto update beween workbooks?
--
Everyone one wants to go to heven, but no one wants to die ;-) (Curits
Mayfield)
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Auto update of filters

You have two worksheets...

Autofilters won't react to changes like this.

In fact, if you only had one worksheet and used data|filter|autofilter, then
changed a value right in that range, you'd have to reapply your criteria.



Pec1909 wrote:

I have two work books , data, datatype.
Data has column B as datatype, which is populated either 1 or 0 .
Datatype has an autofilter on column A (all 1). Cell
A2=if(data!b2=1,data!b1,"")

This works fine, until I modify the value in data!b2 and then change to
workbook datatype. It will still display Data!b2 data even if it is conflicts
with autofilter.

Question: How do i get the filter to auto update beween workbooks?
--
Everyone one wants to go to heven, but no one wants to die ;-) (Curits
Mayfield)


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Pec1909
 
Posts: n/a
Default Auto update of filters

Dave,
Thanks, what I have investigated into and works, is that I have right
clicked on the tab and select view code and added the following code;

Option Explicit
Private Sub Worksheet_Activate()
Selection.AutoFilter Field:=1, Criteria1:="<"

End Sub

this way every time I enter the worksheet the filter refreshers.

--
Everyone one wants to go to heven, but no one wants to die ;-) (Curits
Mayfield)


"Dave Peterson" wrote:

You have two worksheets...

Autofilters won't react to changes like this.

In fact, if you only had one worksheet and used data|filter|autofilter, then
changed a value right in that range, you'd have to reapply your criteria.



Pec1909 wrote:

I have two work books , data, datatype.
Data has column B as datatype, which is populated either 1 or 0 .
Datatype has an autofilter on column A (all 1). Cell
A2=if(data!b2=1,data!b1,"")

This works fine, until I modify the value in data!b2 and then change to
workbook datatype. It will still display Data!b2 data even if it is conflicts
with autofilter.

Question: How do i get the filter to auto update beween workbooks?
--
Everyone one wants to go to heven, but no one wants to die ;-) (Curits
Mayfield)


--

Dave Peterson

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
Links auto update on some workbooks but not others Tasza Excel Worksheet Functions 1 October 25th 05 01:04 AM
Auto Link Update ceemo Excel Discussion (Misc queries) 3 August 27th 05 11:35 PM
Auto Update / Save Chewy Excel Discussion (Misc queries) 1 February 15th 05 10:09 PM
excel links update not working in auto, calculations in auto Mikey Boy Excel Worksheet Functions 0 December 7th 04 11:53 PM
auto update xyncro Excel Worksheet Functions 0 November 5th 04 11:03 AM


All times are GMT +1. The time now is 11:02 PM.

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"