Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Response to menu in VBA

Hi,
I have macros which save the file name "temp.xls" which already exists. I
want the
macro to replace the existing file without waiting for the user to input a
response.
How do I write this in VBA ?
Thanks in advance,
Rocco
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Response to menu in VBA

Application.DisplayAlerts = False
ActiveWorkbook.SaveAs FileName:="temp.xls"
Application.DisplayAlerts = True

--

HTH

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


"Rocco" wrote in message
...
Hi,
I have macros which save the file name "temp.xls" which already exists. I
want the
macro to replace the existing file without waiting for the user to input a
response.
How do I write this in VBA ?
Thanks in advance,
Rocco



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum of Yes Response JohnR[_2_] Excel Worksheet Functions 8 October 7th 08 09:11 PM
Response Therese Excel Discussion (Misc queries) 1 March 4th 08 01:23 PM
How do I transform a word response to a numeric response? kanegaro Excel Discussion (Misc queries) 0 January 11th 08 05:08 PM
How do I set up a daily call out response response register? Pule Excel Worksheet Functions 1 October 7th 07 01:34 PM
Response Ronbo Excel Programming 1 February 22nd 04 11:10 PM


All times are GMT +1. The time now is 08:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"