> I have created a new form which I want to post into a public folder. I also
> want it e-mailed to specific e-mail addresses. Is there any way to allow
[quoted text clipped - 9 lines]
> Cheers,
> Dino
This statement would get a store (pst file, mailbox, etc.) with the name "TEST Folder")
Set objNS = Application.GetNamespace("MAPI").Folders("TEST Folder")
> "TEST Folder" is a folder in my Mailbox at the same level as the Inbox
1) Return the Inbox with Namespace.GetDefaultFolder.
2) Return the Parent of the Inbox >> that's the root of the default information store.
3) Your "TEST Folder" is in the Folders collection of #2:
Set objInbox = Application.Session.GetDefaultFolder(olFolderInbox)
Set myFolder = objInbox.Parent("TEST Folder")

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
>I have assigned a button and am trying to attach some VBScript? code to move
> a form to a specific folder then send the e-mail on to the adressee's. The
[quoted text clipped - 31 lines]
>> Cheers,
>> Dino
Dino - 30 Jan 2007 04:23 GMT
Hi Sue,
Would this change if I made the store location a sub-folder of my Inbox?
> This statement would get a store (pst file, mailbox, etc.) with the name "TEST Folder")
>
[quoted text clipped - 43 lines]
> >> Cheers,
> >> Dino
Sue Mosher [MVP-Outlook] - 30 Jan 2007 10:58 GMT
"store" = .pst file, Exchange mailbox, etc.
You cannot make a store a subfolder of anything.
If you make the TEST folder a subfolder of the Inbox, then of course the code to access it changes. You wouldn't need to use the Parent of the Inbox.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi Sue,
>
[quoted text clipped - 48 lines]
>> >> Cheers,
>> >> Dino