Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Macro Help for Filtering

I am horrible at programming, but learning. Can someone help me write a
simple macro to sort all items in where H2 (and on down) is NO and B2 (and on
down) Is Non blank (this field is picked from a validation List).

I want to assign this to a button.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default Macro Help for Filtering

Have a look at this site: http://www.contextures.com/xladvfilter01.html
It's got all you need to know to get you started & you can download for free
- working examples.
--
jb


"Jeremy" wrote:

I am horrible at programming, but learning. Can someone help me write a
simple macro to sort all items in where H2 (and on down) is NO and B2 (and on
down) Is Non blank (this field is picked from a validation List).

I want to assign this to a button.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 421
Default Macro Help for Filtering

Hi Jeremy,

Further to John's suggestion, if you need
a macro solution, try turning on the macro
recorder while you follow the
recommended Advanced Filter steps.

This will provide you with base code
which may be edited to provide a generic
routine.

If you expereience difficulties with such
editing, post your code and indicate the
specific problems.

If, however, a VBA solution is not
mandatory, consider downloading
Ron de Bruin's excellent EasyFilter Add-In,
which may be downloaded, as freeware,
at:

EasyFilter Add-In
http://www.rondebruin.nl/easyfilter.htm



---
Regards.
Norman
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
Macro for filtering Eric Excel Programming 1 February 22nd 08 04:42 PM
Macro for Filtering Nikki Excel Programming 2 May 23rd 07 08:25 AM
Advanced filtering macro Sandy Excel Worksheet Functions 2 May 1st 07 04:16 PM
Filtering with a macro gerry405 New Users to Excel 0 October 7th 05 11:05 AM
Filtering in a macro sungen99[_21_] Excel Programming 0 June 9th 05 07:44 PM


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