View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_12_] Bob Phillips[_12_] is offline
external usenet poster
 
Posts: 5
Default VBA - Choosing rows based on a criteria

Try using filter in Excel with the macro recorder switched, it will show you
most of the code needed.


wrote in message
oups.com...
et al,

If this is the wrong group, please point me in the right direction.

What I want to do is choose rows in a spreadsheet based on a criteria
(yes, I know I could filter to get it), but I want to be able to have
them chosen from w/in VBA as I plan to take data in said row and build
and send an e-mail with it.

I'm only looking for the first part, right now. How to choose a row
based on criteria.

Once I have that, I'll probably just write it out to a text file to
make sure it works.

Then, if it shows that it works, I'll go ahead and take out the 'text
file' and replace it w/ building and sending e-mail.

Any help is greatly appreciated.

thx.
-Michael