Error from Folder.MoveTo function

Status
Not open for further replies.
S

Shad

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.
 
S

Shad

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
 
S

Shad

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.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Unable to save recurring Meeting to Documents folder due to error Using Outlook 2
P Public Folder email error, ndr returned. Exchange Server Administration 1
P Folder hierarchy synch error 80041004 Using Outlook.com accounts in Outlook 6
A "Unable to display the folder" error when accessing Group mailbox Using Outlook 0
L Mapi folder.FIND: error Using Outlook 0
V Unable to delete from deleted items folder due to error message Using Outlook 3
T Outlook Error synchronizing your folder hierarchy : 80041050. Send Not Receive Using Outlook.com accounts in Outlook 6
C error message: 'you don't have permission to create an entry in this folder' Using Outlook 3
D Unable to open hotmail, error hotmail.ost is not an offline folder file Using Outlook 3
D Outlook Connector error syncing folder hierarchy (0x8004102A) Using Outlook 4
A Links in email getting error message about group policy Using Outlook 4
Aussie Outlook 365 Rule runs manually but returns the error code "an unexpected error has occurred" when incoming mail arrives Using Outlook 1
Cathy Rhone Mail merge error message Using Outlook 2
U Outlook 2019 VBA run-time error 424 Outlook VBA and Custom Forms 2
V Outlook error 500 Using Outlook 2
O Comma Separated Values.ADR and A file error has occurred in the translator Using Outlook 6
D We're sorry but outlook has run into an error Using Outlook 6
D Outlook 2016 Outlook Error Msg "The operation cannot be performed ..." How to Stop it Using Outlook 4
P Outlook 2013 All imported Mail Rules in error when imported into new profile Using Outlook 5
H Outlook 2019 Certificate error Using Outlook 2
V Date and/or time error in Outlook Form Outlook VBA and Custom Forms 0
A Run-time error '430' on certain emails when trying to set "Outlook.mailitem" as "ActiveExplorer.Selection.Item" Outlook VBA and Custom Forms 2
E Complite error on SaveAsFile method Outlook VBA and Custom Forms 2
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
D Outlook VBA error extracting property data from GetRules collection Outlook VBA and Custom Forms 10
M Compile error: User-defined type not defined Outlook VBA and Custom Forms 0
R Error when trying to forward current email item Outlook VBA and Custom Forms 7
M ERROR: None of your email accounts could send to this recipient Using Outlook 2
J OLADD.FAE Error When Exporting Contacts Using Outlook 6
C Send/receive error 80040119 Using Outlook 2
W error with the permission for the file Outlook VBA and Custom Forms 0
L Outlook 2019 MAC sync error after working for 4 hours Using Outlook 1
A Run time error 424. object required in outlook 2013 Outlook VBA and Custom Forms 10
M error code 0x8DE00006 Using Outlook 1
M Desktop Version Of Outlook Generating Error Using Outlook 4
M Send/Receive error 0x800CCC0F Using Outlook 0
T Outlook 2016 CSV Translator Import Error Using Outlook 6
ManaarZakaria I'm afraid of this issue, cause of strange error Exchange Server Administration 2
P Suppress dialog box on email check error? Using Outlook 5
vodkasoda Object could not be found Error in Outlook 2007 Outlook VBA and Custom Forms 5
S VBA Macro - Run-time error '424': object required - Help Please Outlook VBA and Custom Forms 3
avant-guvnor Outlook.Application now produces error Outlook VBA and Custom Forms 5
P Run Time Error 91 when linking contact to task in VBA Outlook VBA and Custom Forms 1
N Error 0x80090326 when trying to setup IMAP account on Outlook.com Using Outlook.com accounts in Outlook 1
N Saving And Deleting Outlook Attachments with Unknown Error Message Outlook VBA and Custom Forms 1
Dennis Gaudenzi Your setup couldn't be started because of an unexpected error (mapi 0x80040604) Using Outlook 14
M Outlook 2013 fails to start -- missing WindowsCodecs.dll error Using Outlook 3
Steshelter ICloud Unexpected Error Using Outlook 5
Rupert Dragwater "there was an error reading this theme" Using Outlook 3
A Error: The name cannot be matched to a name in the address list Using Outlook.com accounts in Outlook 0

Similar threads

Top