View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
miker1999[_10_] miker1999[_10_] is offline
external usenet poster
 
Posts: 1
Default VBA to set which columns in Autofilter

Hello,
I have put code my worksheet_activate to automatically turn on th
Autofilter:

If Not AutoFilterMode Then Cells.AutoFilter

Is there a way to set it to only turn the autofilter on for certai
columns? I need to filter columns A and C:F.

Also, in this code, can I set which row to put the Autofilter on?

Thanks!
Mik

--
Message posted from http://www.ExcelForum.com