ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Is there any way to set the autofilter of a specified column to "non blank" when the workbook is started? (https://www.excelbanter.com/excel-programming/315504-there-any-way-set-autofilter-specified-column-non-blank-when-workbook-started.html)

Daniel[_17_]

Is there any way to set the autofilter of a specified column to "non blank" when the workbook is started?
 
Is there any way to set the autofilter of a specified column to "non
blank" when the workbook is started?

Thanks

Bob Phillips[_6_]

Is there any way to set the autofilter of a specified column to "non blank" when the workbook is started?
 
Daniel,

Add this sort of code to the Thisworkbook code module

Private Sub Workbook_Open()

Columns("A:A").AutoFilter Field:=1, Criteria1:="<"

End Sub

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Daniel" wrote in message
om...
Is there any way to set the autofilter of a specified column to "non
blank" when the workbook is started?

Thanks





All times are GMT +1. The time now is 07:36 PM.

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