Help with SHOWFILTERFILENAME

I have a button that filters specific document types for Office apps.

Set SHOWFILTERFILENAME="*.doc" Set HIDEFILTERFOLDERS="*"

How do I augment it to show both .doc and .docx files? I've tried a few different ways but am struggling with the syntax.

1 Like

Set SHOWFILTERFILENAME=*.(doc|docx)

1 Like

that worked. thanks.