Re: Calendar Items - Copying enmasse to another folder via VBA
From: Sue Mosher [MVP-Outlook] (suemvp_at_outlookcode.com)
Date: 04/16/04
- Next message: Ken Slovak - [MVP - Outlook]: "Re: C ++ programming"
- Previous message: Sue Mosher [MVP-Outlook]: "Re: VB Editor wont start"
- Maybe in reply to: Sue Mosher [MVP-Outlook]: "Re: Calendar Items - Copying enmasse to another folder via VBA"
- Next in thread: Alan: "Re: Calendar Items - Copying enmasse to another folder via VBA"
- Reply: Alan: "Re: Calendar Items - Copying enmasse to another folder via VBA"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 16 Apr 2004 07:39:43 -0400
Did you try:
Set objMovedItem = ObjCopy.Move objTarget
Other things I'd try -- testing whether you can change a property on objCopy
and save it without errors.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Alan" <alan@alan.alan> wrote in message
news:%23UBaku1IEHA.2376@TK2MSFTNGP12.phx.gbl...
> "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in
> message news:OJ1kes0IEHA.2744@TK2MSFTNGP10.phx.gbl...
> >
> > Did you check the KB? As I said, there are a number of articles
> > regarding that error message.
> >
>
> I did indeed - I should have mentioned that before for which I
> apologise.
>
> Searching on the error code, I got 25 hits, so I added "Outlook" as a
> term and got 8 hits.
>
> None of those 8 or the wider 25 seem to offer any assistance.
>
>
> I then tried searching the MSKB on the following:
>
> parameter values vba valid
>
> That gave 25 hits, but again none seem to offer any specific
> assistance.
>
>
> There is a list of error codes that includes (80070057) at:
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;186063
>
> However, this just tells you that the code means that, "One or more
> arguments are invalid".
>
>
> If we then return to the code, the line that bombs out is:
>
> ObjCopy.Move objTarget
>
>
> Since ObjCopy and ObjTarget are both validated objects (as confirmed
> by the locals window), it seems that the only possibilities are that:
>
> 1) It is invalid to move ObjCopy at all; OR
>
> 2) It is valid to move ObjCopy, but it is invalid to move it
> into ObjTarget.
>
>
> I can manually move that item into that target folder using my mouse
> so neither *appears* to be the case (?!)
>
>
> This is really quite strange?
>
> Alan.
>
>
>
>
>
- Next message: Ken Slovak - [MVP - Outlook]: "Re: C ++ programming"
- Previous message: Sue Mosher [MVP-Outlook]: "Re: VB Editor wont start"
- Maybe in reply to: Sue Mosher [MVP-Outlook]: "Re: Calendar Items - Copying enmasse to another folder via VBA"
- Next in thread: Alan: "Re: Calendar Items - Copying enmasse to another folder via VBA"
- Reply: Alan: "Re: Calendar Items - Copying enmasse to another folder via VBA"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|