PRJ98: Filter Dialog Box Redisplayed After You Click OK

Support for Office 2003 has ended

Microsoft ended support for Office 2003 on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
In Microsoft Project 98, when you click OK in an interactive filter dialogbox, the filter dialog box may be redisplayed.
This behavior occurs when you use the FilterApply method in a Visual Basicprocedure to apply an interactive filter, and you assign invalid values toarguments Value1 and Value2 for the type of filter being used.

For example, this behavior would occur if you had a line in your proceduresuch as:
FilterApply Name:="Task Range...", Highlight:=False, _
Value1:="a", Value2:="b"
The Task Range filter requires integer values, for example, 5 and 10, rather than the text "a" and "b" given in the example.
To work around this behavior, use either of the following methods.

Method 1

Edit the FilterApply method in the procedure, and change the values of thearguments Value1 and Value2 (if applicable) for the interactive filter, sothat they are correct for the type of filter being applied.

Method 2

When Microsoft Project displays the interactive filter dialog box, manuallyenter correct values for the filter.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Article ID: 195350 - Last Review: 01/06/2015 03:54:16 - Revision: 4.0

  • Microsoft Project 98 Standard Edition
  • Microsoft Office Project Professional 2007
  • Microsoft Office Project Professional 2003
  • Microsoft Office Project Standard 2007
  • Microsoft Office Project Standard 2003
  • Microsoft Project 2000 Standard Edition
  • Microsoft Project 2002 Standard Edition
  • Microsoft Project 2002 Professional Edition
  • Microsoft Project Professional 2010
  • Microsoft Project Standard 2010
  • kbnosurvey kbarchive kbbug kbpending KB195350