LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Setting Criteria in VBA

I have to set criteria for an advanced filter action in a particular way because of the
nature of the data. If I have Field 1 for example as the citeria I have to enter this as
="=Field 1" and it selects the correct data perfectly and I am grateful to Dave Peterson
for making me aware of this. I thought I was on a roll then but hit a wall when I tried to
enter this in a procedure. If Field 1 is in A1 and I want to put the correct format of
criteria reference in cell H1 using VBA, can this be done or do I have to rethink the
filtering concept? I would value any help.

Graham
 
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
Setting up a drop down box with sort criteria GingerSnapsToo Excel Discussion (Misc queries) 3 April 16th 08 10:50 PM
Setting the Validation Criteria on the fly PDABACC Excel Discussion (Misc queries) 1 November 10th 07 02:53 PM
setting DSUM criteria in a VBA function excelman Excel Programming 0 February 8th 06 08:21 PM
Setting autofilter criteria peterDavey Excel Programming 1 June 11th 04 09:47 AM
Q setting up UserForm for filter criteria Ed[_9_] Excel Programming 1 February 27th 04 03:17 PM


All times are GMT +1. The time now is 09:47 PM.

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"