save item in public folder

  • Thread starter Thread starter Urs Ruefenacht
  • Start date Start date
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
 
No. SaveAs is used to save an item as a file to the file system. What
exactly are you trying to accomplish?
 
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.
 
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
 
Back
Top