LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 7
Thumbs up Macro format selection

Hi here is part of my macro,

Selection.AutoFilter Field:=3, Criteria1:="FC"
Rows("2:51").Select
Range("A51").Activate
Selection.Font.ColorIndex = 5


My data is different every day. so
Rows("2:51").Select -------------- this could be from 2:40 or 2:75
Range("A51").Activate


How do I write it so that it will select only Criteria1:="FC"

Thank you.
 
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
How can run a macro ( call a macro) on selection of any filtercriteria? [email protected] Excel Worksheet Functions 7 February 20th 09 12:34 AM
Drop down selection auto format Pyrite Excel Discussion (Misc queries) 3 July 29th 08 09:37 AM
Dynamic chart format & data selection? [email protected] Charts and Charting in Excel 5 April 7th 08 06:45 PM
Edit, Format random selection saman110 via OfficeKB.com Excel Discussion (Misc queries) 0 July 30th 07 08:27 PM
Format of autofilter selection list. LJezerni Excel Discussion (Misc queries) 1 April 12th 07 04:54 PM


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