save item in public folder

U

Urs Ruefenacht

Is it possible to save an item in a specified public folder with the
Item.SaveAs() function?

Thx in advance - cheers
oers
 
S

Sue Mosher [MVP-Outlook]

No. SaveAs is used to save an item as a file to the file system. What
exactly are you trying to accomplish?
 
U

Urs Ruefenacht

On my custom post form I have a button for saving the form in the
current public folder (with Item.Save()). At the same time, I like to
save the form in another public folder.
 
S

Sue Mosher [MVP-Outlook]

Set objCopy = Item.Copy
objCopy.Move objFolder

To get a non-default folder, you need to walk the folder hierarchy using the
Folders collections or use a function that does that for you. See
http://www.outlookcode.com/d/code/getfolder.htm


--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top