+ Reply to Thread
Results 1 to 3 of 3

overwrite

  1. #1
    SP
    Guest

    overwrite

    Hi

    ActiveWorkbook.SaveAs newfilename

    If newfilename already exists at the saving location, a prompt will pop up
    to confirm overwrite. Can I say Yes through the codes instead of manually
    clicking on the Yes button ?

    Thanks
    Steve



  2. #2
    Bob Phillips
    Guest

    Re: overwrite

    Application.DisplayAlerts = False
    .... code
    Application.DisplayAlerts = True

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "SP" <none> wrote in message news:esQY5LxRFHA.248@TK2MSFTNGP15.phx.gbl...
    > Hi
    >
    > ActiveWorkbook.SaveAs newfilename
    >
    > If newfilename already exists at the saving location, a prompt will pop up
    > to confirm overwrite. Can I say Yes through the codes instead of manually
    > clicking on the Yes button ?
    >
    > Thanks
    > Steve
    >
    >




  3. #3
    SP
    Guest

    Re: overwrite

    Thank you...cool.

    Steve

    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:eZRr$JyRFHA.1236@TK2MSFTNGP14.phx.gbl...
    > Application.DisplayAlerts = False
    > ... code
    > Application.DisplayAlerts = True
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "SP" <none> wrote in message news:esQY5LxRFHA.248@TK2MSFTNGP15.phx.gbl...
    >> Hi
    >>
    >> ActiveWorkbook.SaveAs newfilename
    >>
    >> If newfilename already exists at the saving location, a prompt will pop
    >> up
    >> to confirm overwrite. Can I say Yes through the codes instead of
    >> manually
    >> clicking on the Yes button ?
    >>
    >> Thanks
    >> Steve
    >>
    >>

    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1