View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kevin H. Stecyk Kevin H. Stecyk is offline
external usenet poster
 
Posts: 12
Default Set Visible Cells To TRUE

Hi,

I am using XL 2003 with O/S XP.

I have a table consisting of several columns and over 100 rows. The table
has a quick filter applied to it, so users can easily filter data.

One column "KeyRange" is set to TRUE or FALSE depending on whether I want to
manipulate that data with other macros. At present, I use the quick filters
to narrow down to the key rows and then set each row to TRUE. I'd like to
do this task by a VBA macro instead. That is, after using quick filters to
select the appropriate rows, use a VBA macro to set all visible cells in
range KeyRange to TRUE and all hidden cells to FALSE. Can someone please
give me some guidance?

Once I have VBA code, I can easily attach a button to the spreadsheet. My
challenge is getting the VBA code to set the appropriate cells to either
TRUE or FALSE.

I look forward to your help.

Regards,
Kevin