Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Excel Macro Genius wanted!

    I am trying to write an Excel macro that will save the spreadsheet as a Webpage, over writing an existing file. Can this be done? I can get it to save as, but it then asks if i would like to over write file....i'd like it to do it anyway. Help appreciated!

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Excel Macro Genius wanted!

    You should add

    Application.DisplayAlerts=False

    just before the save-as line.

    Add

    Application.DisplayAlerts=True

    after the save-as line.
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  3. #3
    New Lounger
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Excel Macro Genius wanted!

    Thank you for your help, perfect!

Posting Permissions

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