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

I have several spreadsheets in my workbook which have a column with the same
reference numbers.

It is frustating to filter each spreadsheet individually...

Is there a way to filter for a reference number (in all the spreadsheets
simultaneously) only by one action on the first spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default Filtering

Here's a simple example: (maybe you can apply it to your situation)
I have Sheet1, sheet2, sheet3
with autofilters on each sheet

I first named each Auto-filter on each page
MyData<< giving each a "Local" name
In the Name Box (for sheet2 for example) enter Sheet2!MyData
and in the RefersTo Box enter the Alter-Filter Range Including the header.

In my Sheet1 - Cell A1 I entered my Criteria: Y
My 3rd Column of my AutoFilters is a Y or N Column

Hope this helps;
Jim May

Sub tester
Dim Rng As Range
Dim ws As Worksheet
Dim ws1 As Worksheet
Dim MyData As Range
Set ws1 = Worksheets("Sheet1")
For Each ws In ThisWorkbook.Worksheets
Set MyData = ws.Range("MyData")
MyData.AutoFilter Field:=3, Criteria1:="=" & ws1.Range("A1").Value
Next ws
End sub



"Yiannos" wrote:

I have several spreadsheets in my workbook which have a column with the same
reference numbers.

It is frustating to filter each spreadsheet individually...

Is there a way to filter for a reference number (in all the spreadsheets
simultaneously) only by one action on the first spreadsheet?

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
Filtering Mayank Excel Worksheet Functions 6 May 30th 06 04:10 PM
Filtering RichR Excel Discussion (Misc queries) 2 November 8th 05 01:32 AM
Filtering ? Tarjei Lundarvollen Excel Worksheet Functions 7 July 19th 05 12:00 AM
trouble filtering a list. Why isn't column filtering? Pat Excel Worksheet Functions 1 July 18th 05 04:30 PM
filtering help Marsha Excel Discussion (Misc queries) 4 March 14th 05 03:44 PM


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