Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Filling both hidden and visible cells once a filter has been applied

I am very new to VBA. So my apologizes first for ignorance if this is
an easy problem to address.

I am trying to fill a column with different data ("incorrect" and
"correct") based on filtered criteria. Example:

Sheets("L-G DL").Select
Rows("1:1").Select
Selection.AutoFilter
Selection.AutoFilter Field:=14, Criteria1:="-100", Operator:=xlOr,
_
Criteria2:="<100"
Selection.AutoFilter Field:=11, Criteria1:="10", Operator:=xlAnd
Selection.AutoFilter Field:=12, Criteria1:="10", Operator:=xlAnd

Once the columns have been filtered I would like to fill the visible
cells (but not the header) in column 21 with the word "correct" and
hidden cells with "incorrect".

Once this is done I will use the new information in a pivot table. I
can't seem to come up with a way to do this. Does anyone have an
approach that may work?

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
HELP: Selecting Non-Visible (Hidden) Cells with AutoFilter Applied west8100 Excel Discussion (Misc queries) 3 February 11th 09 11:26 PM
HELP: Selecting Non-Visible (Hidden) Cells with AutoFilter Applied west8100 Excel Discussion (Misc queries) 0 February 10th 09 09:28 PM
HELP: Selecting Non-Visible (Hidden) Cells with AutoFilter Applied west8100 Excel Discussion (Misc queries) 0 February 10th 09 09:28 PM
HELP: Selecting Non-Visible (Hidden) Cells with AutoFilter Applied west8100 Excel Discussion (Misc queries) 0 February 10th 09 09:27 PM
Copy only visible cells after filter is applied/ sum after filter MAM Excel Worksheet Functions 0 April 9th 08 04:09 AM


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