Hi,
First of all I must say that I am new in the forums and previously thanks any help I can get.
To the problem:
I have a workbook that works as a Model for other users, so I don´t want then to use this file, as I inserted the Code below on the Open WorkBook event, this code prevents the user to use the model (Unless he changes the file name), maybe its a "Dirt" code, but works fine for all.
Unfortunatelly, if the user insert a special character (/ \ |... and others) the code give a error and the original workbook get able to edit. The problem is that I am not able to insert a code that check if the user inserted any special character that are not accepted in file names. I tried (the code in red) but doesn´t worked, anyone can help me fix this code?
Thanks,
Bookmarks