I know that a filter will not work unless the field is in the folder. When I am in the field chooser under "User defined fields in folder", "Rank" is one of the fields listed. When I run my code, get an error "The property "Rank" is unknown. " Following are the relevant lines of code. What am I missing/overlooking? I filtered on a different user-defined field with no problem.

strFilter = "[Rank]='A'"
Set myRestrictItems = myitems.Restrict(strFilter)