This is a followup to question: "Outlook macro to search a folder and return email addresses"
I'd like to get it to work on the current (active) folder which is displayed in outlook. Have been trying to modify this line:
Set fld = Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox)
to no avail. matthewspatrick, or anyone else, can you help?