A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to define a folder object given its pathname



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 8th 06, 08:11 PM posted to microsoft.public.outlook.program_vba
jimboluke
external usenet poster
 
Posts: 13
Default How to define a folder object given its pathname

How do I set a folder object to a folder from only its pathname?

I am trying to make a simple brute force routine for moving folders based on
a message box input. At first (not a good programmer), I am defining a set
of hard-coded folders (e.g. within a personal PST) based on the message box.
Trouble is reflecting my ignorance, I don't know how to simply create a
folder object based only on a pathname (e.g. \\A000\00). If I COULD do this,
then I could invoke a .Move method pretty simply.
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to pre-define "follow up" flag text Gordon Brown Outlook - Using Contacts 3 February 21st 06 02:47 AM
You made changes to another copy of this object... Noppie Outlook - General Queries 0 February 20th 06 06:53 PM
Object can not be found naguaramipana Outlook - General Queries 3 January 30th 06 06:17 AM
Is it possible to define 2 SMTP servers without adding a new identity? Jimmy Ho Outlook Express 3 January 28th 06 02:32 PM
Help - Object Model Guard Jack Ryan Outlook - Using Contacts 2 January 26th 06 08:42 PM


All times are GMT +1. The time now is 09:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.