How do I stop the cancel error (76) caused when a user cancels a common dialog box. Here is my code so far:
With CommonDialog1
.DialogTitle = "Open File"
.Flags = cdlOFNHideReadOnly + cdlOFNOverwritePrompt + cdlOFNPathMustExist
.Filter = "Text Files(*.txt)|*.txt"
.ShowOpen
End With
I am not sure how to use .CancelError (If that is what is applicable here) "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
-- Rich Cook.
With CommonDialog1
.DialogTitle = "Open File"
.Flags = cdlOFNHideReadOnly + cdlOFNOverwritePrompt + cdlOFNPathMustExist
.Filter = "Text Files(*.txt)|*.txt"
.ShowOpen
End With
I am not sure how to use .CancelError (If that is what is applicable here) "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
-- Rich Cook.
