ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro Help for Filtering (https://www.excelbanter.com/excel-programming/410204-macro-help-filtering.html)

Jeremy

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.

John

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.


Norman Jones[_2_]

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


All times are GMT +1. The time now is 01:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com