Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autofilter 1

Status
Not open for further replies.

Krusher

IS-IT--Management
Jan 2, 2003
70
US
Does anyone know how I can turn autofilter on upon opening a project file via an autorun macro. I want to be able to check to see if autofilter is already on, and if it isn't then turn it on. Many thanks in advance.

-K
 
If activeproject.AutoFilter Then
MsgBox "it's on"
activeproject.AutoFilter = False
MsgBox "now it's off"
Else
MsgBox "it's off"
activeproject.AutoFilter = True
MsgBox "now it's on"
End If
 
PDQBach,
Perfect!!!!!!! Many thanks :)

-K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top