muck Posted February 1, 2011 Share Posted February 1, 2011 AutoCAD 2010 vba In VBA I want to test to see if I have a valid filename before I save a drawing file using ThisDrawing.SaveAs Drawingfile. VBA needs to know if it has a valid file name "DrawingFile" before trys to save the filename. Is there a way to test for a valid filename in vba? Thank you, Quote Link to comment Share on other sites More sharing options...
BIGAL Posted February 6, 2011 Share Posted February 6, 2011 You have the filename just check the characters in it for invalid characters such as !@#$%^&*() no easy way. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.