Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I have to save an excel file, I'm using the saveas method in a vb6 application, and in the case of the file already esists, a message box appears.. I can Avoid this message box and save the file? or...I can get the value of the answer to this message box to manage the code Thanks! Milly |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
fName = "C:\Myfolders\Myfile.xls"
if dir(fName) < "" then ' file exists, what do you want to do Else ' file doesn't exist, what do you want to do End if -- Regards, Tom Ogilvy "Milly" wrote in message ... Hi! I have to save an excel file, I'm using the saveas method in a vb6 application, and in the case of the file already esists, a message box appears... I can Avoid this message box and save the file? or...I can get the value of the answer to this message box to manage the code? Thanks!! Milly |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Confused here Prevent Saving File - but allow ONLY File SAVEAS Met | Excel Discussion (Misc queries) | |||
saveas CSV file | Excel Discussion (Misc queries) | |||
File saves ok, SaveAs VERY slow | Excel Discussion (Misc queries) | |||
Saveas with name of another file | Excel Programming | |||
SaveAs another file name, then keep working | Excel Programming |