C
Conrad Santiago
I have a filter that looks like this:
Finish is less than or equal to Mon 3/15/04
And Start is greater than or equal to Sat 3/6/04
OR
Remaining work is greater than 0
And Start is less than or equal to Sat 3/6/04
I created a macro to modify this filter with the current date. This is what I have so far, however, how do you use the FilterEdit method to access the second row with the "Start" field?
============================
Sub PD_1WK_View()
edfilter_start = FilterEdit("Macro PD 1 WK View", True, False, True, , , "Start", , "is less than or equal to", ActiveProject.CurrentDate + 6)
edfilter_finish = FilterEdit("Macro PD 1 WK View", True, False, True, , , "Finish", , "is greater than or equal to", ActiveProject.CurrentDate)
edfilter_start2 = FilterEdit("Macro PD 1 WK View", True, False, True, , , "Start", , "is less than or equal to", ActiveProject.CurrentDate)
view_on = ViewApply("Macro PD 1 WK View")
End Sub
============================
Any response is appreciated.
--Conrad Santiago
Finish is less than or equal to Mon 3/15/04
And Start is greater than or equal to Sat 3/6/04
OR
Remaining work is greater than 0
And Start is less than or equal to Sat 3/6/04
I created a macro to modify this filter with the current date. This is what I have so far, however, how do you use the FilterEdit method to access the second row with the "Start" field?
============================
Sub PD_1WK_View()
edfilter_start = FilterEdit("Macro PD 1 WK View", True, False, True, , , "Start", , "is less than or equal to", ActiveProject.CurrentDate + 6)
edfilter_finish = FilterEdit("Macro PD 1 WK View", True, False, True, , , "Finish", , "is greater than or equal to", ActiveProject.CurrentDate)
edfilter_start2 = FilterEdit("Macro PD 1 WK View", True, False, True, , , "Start", , "is less than or equal to", ActiveProject.CurrentDate)
view_on = ViewApply("Macro PD 1 WK View")
End Sub
============================
Any response is appreciated.
--Conrad Santiago