Save As: Overwrite exiting file w/out dialog
VBA Telemetry pings you when your VBA projects fail
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Save As: Overwrite exiting file w/out dialog

  1. #1
    New Member
    Join Date
    Mar 2002
    Location
    Rick Kushner
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I want the SaveAs (in a macro) to overwrite the previous version of the same file without prompting the user to confirm. I would be happy to just delete the previous copy of the file to be saved, but I can't figure that out either.

    Thanx!!!

    [ This Message was edited by: rkushner on 2002-03-22 11:25 ]

  2. #2
    MrExcel MVP Mark O'Brien's Avatar
    Join Date
    Feb 2002
    Location
    Columbus, OH, USA
    Posts
    3,530
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I don't know if this will work, but try



    Application.DisplayAlerts = False

    ...Your Code....

    Application.DisplayAlerts = True


  3. #3
    New Member
    Join Date
    Mar 2002
    Location
    Rick Kushner
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thanks very much!!

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com