Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 09-22-2015, 10:16 PM
gmayor's Avatar
gmayor gmayor is offline VBA rule to forward messages from specific folder and forward Windows 7 64bit VBA rule to forward messages from specific folder and forward Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Local folders in PST are Outlook folders? As in the original example you can access any Outlook folder from VBA e.g. in that example, the 'Newsletters' folder is a sub folder of Inbox

Code:
GetNS(olApp).GetDefaultFolder(olFolderInbox).folders("NewsLetters")
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA rule to forward messages from specific folder and forward Rule to move sent messages to a specific folder LouisOscar Outlook 1 08-17-2011 05:42 AM
Auto Forward Emails - Specific Time Periods Only Dav Outlook 0 06-22-2011 12:03 PM
VBA rule to forward messages from specific folder and forward Create Rule to forward message to mobile# JoyConner Outlook 1 04-21-2011 05:44 PM
Forward Unread Messages after X Minutes? BamaBrad Outlook 2 03-13-2011 07:57 AM
Code to auto-forward weekend messages Whang Outlook 0 06-16-2010 02:18 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft