ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do set excel up to auto replace a file? (https://www.excelbanter.com/excel-discussion-misc-queries/112836-how-do-set-excel-up-auto-replace-file.html)

jenn

how do set excel up to auto replace a file?
 
i need to set my excel sheets up to beable to replace itsself without a box
prompting me can someone plzzzzzzzzz help?
for example my sheet is a game sheet.when I play my first game I hit a
certain button and it creates a certain folder on my hard drive this folder
is for certain excel sheets but when i go to do another round on the same
excel sheet its suppose to auto replace the first round in that folder.but
instead when I hit the button a box pops up asking if i wanna replace the
first one.

Paul B

how do set excel up to auto replace a file?
 
Jenn, maybe

Application.DisplayAlerts = False

'Your Code

Application.DisplayAlerts = True
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"Jenn" wrote in message
...
i need to set my excel sheets up to beable to replace itsself without a box
prompting me can someone plzzzzzzzzz help?
for example my sheet is a game sheet.when I play my first game I hit a
certain button and it creates a certain folder on my hard drive this
folder
is for certain excel sheets but when i go to do another round on the same
excel sheet its suppose to auto replace the first round in that folder.but
instead when I hit the button a box pops up asking if i wanna replace the
first one.





All times are GMT +1. The time now is 07:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com