I have a macro that will perform several operations on all the documents in a selected folder but it also selects all the temp files that are left over after a crash so I am trying to find a way to have the temp files skipped. I would like to use some code that will skip the file if the file name includes any special characters (for example ~ and $). Can anyone explain how to do this? Or is there a better way to handle this? Of course I could always just delete all the temp files prior to running the program but I would like for the user to not have to worry about doing that. Thanks Sam