Hi all!
I have a little issue here. I'd like to insert a check if method with a warning message into my code, but can't get the desired result.
I'd like to check if the workbook exits, before it's opened and copied the sheet. If not I need a message and stop the whole process, else go on.
I've tried the 'if dir method = 0 or "" then --- else' but nothing. Determined the file and path but did nothing, only just placed a cmdbutton to the current sheet without the warning message.
My code:
This works fine, but I'd like to add a check method with a warning message.![]()
Please Login or Register to view this content.
Can someone help?
Thank you.
Bookmarks