View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mwc0914[_14_] mwc0914[_14_] is offline
external usenet poster
 
Posts: 1
Default Canceling a read file function


I have a macro where the user is required to select a file to open. This
is done via the Windows Open File dialog box. If they elect to "cancel"
and not open the file, I get an error. I know there must be some coding
I can put into my macro to trap this and just exit the macro if this
happens.

Thanks
Mike


--
mwc0914
------------------------------------------------------------------------
mwc0914's Profile: http://www.excelforum.com/member.php...o&userid=24130
View this thread: http://www.excelforum.com/showthread...hreadid=552286