troubleshooting Question

Count emails in an open folder

Avatar of Fritters
Fritters asked on
Visual Basic ClassicOutlook
3 Comments1 Solution163 ViewsLast Modified:
I need VBA code to put into Outlook that will be called and will count the number of emails in the particular Exchange folder that is open and put the count in string format onto the windows clipboard.  The calling program (which has no VBA access) will read the text string from the clipboard and continue in a loop.  
The VBA function or sub routine is run by my program by simulating Alt-F8 in Outlook and "typing in" the name of the function or subroutine.  
I grabbed and tweaked code but it doesn't work.  I have very little knowledge of VBA or VB.
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros