Suppress: Cannot Copy a Compressed (Zipped) Folder Onto Itself Message

  • i get the error messagebox:
    title bar " compressed (zipped) folders error"
    "cannot copy a compressed (zipped) folder onto itself"
    with only the OK button


    when i run

    Code
    oapp.namespace(filenamezip).copyhere oapp.namespace(foldername).items


    ?i would like to surpress this message (that is continue...)...
    ???


    thank you...

  • Re: Surpress Error Message


    Normally to supress alerts you would use a :-

    Code
    application.displayalerts = false

    then set it back to true later, I'm not sure if this is what you want ???

    2 + 2 = 9, My Arithmetic Is Mental

  • Re: Surpress Error Message


    If, as the message states, "cannot copy a compressed (zipped) folder onto itself" why even try? If you must, I would guess

    Code
    On Error Resume Next
  • Re: Suppress: Cannot Copy a Compressed (Zipped) Folder Onto Itself Message


    thank you...


    i have tried this line of code (above and below)...


    but i still get the error message...


    ???


    thank you (and a merry xmas!)

  • Re: Suppress: Cannot Copy a Compressed (Zipped) Folder Onto Itself Message


    thank you....


    but i still get the error message (but the code work well-i would just like to surpress the error message and continue the code...)


    thanks.

  • Re: Suppress: Cannot Copy a Compressed (Zipped) Folder Onto Itself Message


    oh...very interesting...


    i'll post the code later...and can i surpress this...?


    thank you.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!