Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    May 2002
    Location
    Smithfield, Free State, South Africa
    Posts
    210
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Save File already exists (Word2000/3)

    I created a macro to save a document to a specific folder.
    When I run the macro again, it gives an error because the file is already there.
    How do I go about overwriting the document with the new version?
    Regars

  2. #2
    4 Star Lounger
    Join Date
    Dec 2000
    Location
    Quakertown, PA, Pennsylvania, USA
    Posts
    517
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Save File already exists (Word2000/3)

    Try this...

    Application.DisplayAlerts = False
    ThisDocument.SaveAs "c:test.doc"
    Application.DisplayAlerts = True

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •