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 - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Error from Folder.MoveTo function



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 8th 10, 01:17 PM posted to microsoft.public.outlook.program_forms
Shad
external usenet poster
 
Posts: 7
Default Error from Folder.MoveTo function

I am trying to move a folder to another location from within a custom
form. Executing the MoveTo function I get the error :

"Cannot copy this folder because it may contain private items".

Is this because the folder I am trying to move contains the custom
form that I have open, and am executing the code from ? Another
reason ?

I can drag and drop this folder to it's new location without problems,
even with the custom form open. It only happens when using MoveTo in
the VBS code.

Thanks,

Steve.
Ads
  #2  
Old March 8th 10, 01:38 PM posted to microsoft.public.outlook.program_forms
Shad
external usenet poster
 
Posts: 7
Default Error from Folder.MoveTo function

I have tested the scenaro where I attempt to move a different folder
from that containing the current custom form. I get the same error.

I should also add that all the folders here are in a shared mailbox
and the custom form is in my "Personal forms library".

Steve
  #3  
Old March 9th 10, 08:49 AM posted to microsoft.public.outlook.program_forms
Shad
external usenet poster
 
Posts: 7
Default Error from Folder.MoveTo function

Another test has demonstrated that this problem is related to the fact
that the folders are in a shared mailbox. If I run this in my
personal mailbox there is no problem.

Previously on this forum, I was directed to set "Allow script in
shared mailbox" in the Outlook settings in order to get the code
behind my custom form to run. Could this be another similar setting
required ? I have scanned through the options, but haven't yet found
anything that fixes this.

Steve.
 




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
internal support function returned an error BBran Outlook - General Queries 1 February 2nd 09 09:36 PM
sub or function not defined error - HELP!! adenke Outlook and VBA 5 July 3rd 07 07:28 PM
Outlook 2003 error "An internal support function returned an error" with multiple distribution lists [email protected] Outlook - Using Contacts 0 December 14th 06 09:08 PM
Get Public Folder Name - Automate PickFolder function FondaUK Outlook - Using Forms 5 December 7th 06 04:30 PM
Getting an Internal Support Function Error TK Outlook - General Queries 2 March 8th 06 12:17 AM


All times are GMT +1. The time now is 01:15 PM.


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