Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a command button to exit my user form and save the updated worksheet.
Only problem is this brings up a prompt asking the user if they wish to replace the existing file. I currently use the following line of code. ActiveWorkbook.SaveAs my_folder & "\\HDQ014-FS02\public\Revenue Accounts\FRAUD DATA\Insurance chargebacks john.xls" Is there anyway for me to change this so the file saves and overwrites the exisitng file without the prompt to the user? Thanks John |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this
Application.DisplayAlerts = False 'Save code Application.DisplayAlerts = True -- Regards Ron de Bruin http://www.rondebruin.nl "mg_sv_r" wrote in message ... I have a command button to exit my user form and save the updated worksheet. Only problem is this brings up a prompt asking the user if they wish to replace the existing file. I currently use the following line of code. ActiveWorkbook.SaveAs my_folder & "\\HDQ014-FS02\public\Revenue Accounts\FRAUD DATA\Insurance chargebacks john.xls" Is there anyway for me to change this so the file saves and overwrites the exisitng file without the prompt to the user? Thanks John |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Do you wish to save prompt | Excel Discussion (Misc queries) | |||
Save Changes Prompt | Excel Worksheet Functions | |||
save prompt for user exit, but no save prompt for batch import? | Excel Discussion (Misc queries) | |||
Replace Update Links prompt | Excel Programming | |||
Save As... prompt | Excel Programming |