Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check before overwriting file?
I am using the following to select a file name and then open file for
writing. It writes to the filename even if it is already used. Is there a way to have it check before overwriting file? Examples? ________________________________ SaveFileName = Application.GetSaveAsFilename("C:\My Documents \temp.hex", _ "Hex File (*.hex), *.hex", , "Save File As:") Open SaveFileName For Output As #1 ________________________________ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to prevent overwriting of file ? | Excel Programming | |||
Rename and save without overwriting the exisiting file | Excel Programming | |||
Prevent user from overwriting file | Excel Programming | |||
overwriting a file | Excel Programming | |||
Overwriting a file automatically using saveas in a macro | Excel Programming |