Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I'm writeing a macro that list's a directory in a spreadsheet then saves to that directory. It works fine the firs time round but next time it's run it is asking to overwrite the previous file. I want it to overwrite without asking. there is around 1000 folders that it saves to so it's a bit tedious pressing ok 1000 times. is there any way to do this? cheers |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
step,
Try Application.DisplayAlerts = False before the save code and set it back to True afterwards. John step wrote: Hi I'm writeing a macro that list's a directory in a spreadsheet then saves to that directory. It works fine the firs time round but next time it's run it is asking to overwrite the previous file. I want it to overwrite without asking. there is around 1000 folders that it saves to so it's a bit tedious pressing ok 1000 times. is there any way to do this? cheers |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Save, save as, page setup dimmed out in unprotected excel sheet? | Excel Discussion (Misc queries) | |||
SAVE and SAVE AS options disappeared from the drop down FILE menu | Excel Discussion (Misc queries) | |||
Command Button Save As Application.ExecuteExcel4Macro ("SAVE.AS?() | Excel Discussion (Misc queries) | |||
when i save xls file, debug script is running and canno't save fil | Excel Discussion (Misc queries) | |||
Save Excel file - prompts to save - no Volitile functions used | Excel Worksheet Functions |