none
Filter columns RRS feed

  • Question

  • Want to filter Project columns in C#. SetAutoFilter() method I believe?  I need some source code?
    Monday, May 21, 2018 3:16 PM

All replies

  • When I record in VBA I see SetAutoFilter FieldName:="Text8", FilterType:=pjAutoFilterIn, Criteria1:="LC" is recorded, but can't get SetAutoFilter to work in C#...
    Tuesday, May 22, 2018 1:41 PM
  • What is your C# code, and what is the error?

    Tuesday, May 22, 2018 7:25 PM
  • There was no error I just couldn't figure out the SetAutoFilter I was using the wrong PjAutoFilterType, I have it working now with:

        app.SetAutoFilter(FieldName: "Text8", FilterType:MSProject.PjAutoFilterType.pjAutoFilterCutoms, Test1: "equals", Criteria1: "Teaford");

    Thank you for the assistance!

    Tuesday, May 22, 2018 8:33 PM