Link to home
Start Free TrialLog in
Avatar of datastarstar
datastarstar

asked on

How to get current folder

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?
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of datastarstar
datastarstar

ASKER

thanks!
You're welcome.