Jump to content
Posted 26 February 2014 - 06:36 PM
Your Brain contains the Best Program Ever Written : Manage Your Data Wisely !!
Posted 26 February 2014 - 06:56 PM
If you can fopen it for reading without creation flags you good to go?
Posted 26 February 2014 - 09:12 PM
In general, you can do something like:
Sub MyFunction() On Error GoTo FailedToReadFile ' Read File Code On Error GoTo FailedToWriteToFile ' Write File Code ExitMyFunction: Exit Sub FailedToReadFile: ' Read File Error Handling GoTo ExitMyFunction FailedToWriteToFile: ' Write File Error Handling GoTo ExitMyFunction End Sub