Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
how to disable "Do you want to save the changes to <file name" manual prompt
everytime while closing excel files having macros (macro password not known), while in automated task mode which is closing and opening files automatically. |
#2
![]() |
|||
|
|||
![]()
If I want to close another workbook in VBA, I'd use something like:
workbooks("otherworkbook.xls").close savechanges:=false (false means I want to discard those changes.) wrote: how to disable "Do you want to save the changes to <file name" manual prompt everytime while closing excel files having macros (macro password not known), while in automated task mode which is closing and opening files automatically. -- Dave Peterson |
#3
![]() |
|||
|
|||
![]()
Hello Dave,
Thanks for your reply. Pls. help me understand what u meant to say, My problem is I have approx. 6000 excel files and these files go as input to a software program which automatically picks data from these files by openng and closing them on its own. But since these files contain macros so everytime a self opened file is closing down it asks for a manual intervention to save changes or not... which defies the whole purpose of automation. Iam a very basic user of excel and so would like to know how can I avert that prompt so that the whole process runs smoothly. Thanks and regards, Vipul Agarwal "Dave Peterson" wrote: If I want to close another workbook in VBA, I'd use something like: workbooks("otherworkbook.xls").close savechanges:=false (false means I want to discard those changes.) wrote: how to disable "Do you want to save the changes to <file name" manual prompt everytime while closing excel files having macros (macro password not known), while in automated task mode which is closing and opening files automatically. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
save excel file formatted as f12.3 | Excel Discussion (Misc queries) | |||
VBA for Excel 2000 file is corrupt | Excel Discussion (Misc queries) | |||
User cannot save excel file in workbook | Excel Worksheet Functions | |||
save excel spreadsheet as a csv file | Excel Worksheet Functions | |||
Save & Save As features in file menu of Excel | Excel Discussion (Misc queries) |