Suppressing Error Message

  • i'm coping a file over itself and i get an information message
    "File cannot be copied onto itself" - An attempt to copy a file could not be completed because the file already exists or same source and destination.


    i would like to surpress this, i have tried the following, but to no avail:


    Code
    Application.DisplayAlerts = False
    Application.ScreenUpdating = False
    Application.Interactive = False


    ???


    thank you...

  • Re: Surpressing Error Message


    can you post the code you are using to save the file....this is probably where the error is...

    D ;)


    :sailboat: [SIZE=1]Better a bad day on the water than a good day in the office[/SIZE]

  • Re: Surpressing Error Message


    thank you...


    ?is this enough of the code...?


    thank you...!

Participate now!

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