Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Autofilter code and assigning Criteria1 equal to value of workshee

Hi,

How can I assign the "Criteria1" parameter below to the value of the
worksheet name? The value for the worksheet is always changing. I've assigned
this value to "Worksheet.Name". Below is the code and the "Criteria1"
parameter that I need to assign to the Worksheet.Name value.

Selection.AutoFilter Field:=1, Criteria1:="=242310400", Operator:=xlAnd
Application.CutCopyMode = False

Thanks in advance!
--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.948-9557
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
Conditional formatting based on an equal value in another workshee Jack New Users to Excel 1 May 19th 08 08:50 AM
toggle between autofilter Criteria1:= "*" and "all" Mike Gallagher[_2_] Excel Programming 2 December 26th 07 07:02 PM
VB Question - AutoFilter related - 'Criteria1:' secion of my code Midnight[_2_] Excel Programming 6 August 13th 07 05:17 PM
Autofilter - formatting criteria1 data for valid comparison Dennis Excel Programming 2 December 4th 06 06:56 PM
can I use a cell content as a Criteria1 reference in the below Selection.AutoFilter statement? prady Excel Programming 1 July 28th 06 04:27 PM


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