Re: Calendar Items - Copying enmasse to another folder via VBA

From: Sue Mosher [MVP-Outlook] (suemvp_at_outlookcode.com)
Date: 04/16/04


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


Relevant Pages

  • Re: problems building fusefs-kmod
    ... objcopy --strip-debug fuse.ko ... I wonder why SRC_BASE is set in port's Makefile and not used at all. ... incomplete type mount_fusefs.c: In function 'usage': ... type *** Error code 1 ...
    (freebsd-questions)
  • Re: FBSD 6.2-PRE: todays cvsupdate break kernel build
    ... atapicam.ko export_syms | xargs -J% objcopy % atapicam.ko ... objcopy --strip-debug atapicam.ko ... *** Error code 2 ... Energy Sciences Network (ESnet) ...
    (freebsd-stable)
  • Build error
    ... The device xl is disabled in my kernel config. ... xargs -J% objcopy % if_xl.kld ... *** Error code 2 ...
    (comp.unix.bsd.freebsd.misc)
  • Re: problems building fusefs-kmod
    ... Object directory not changed from original ... objcopy --strip-debug fuse.ko ... *** Error code 1 ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (freebsd-questions)