patgenn123 Posted July 29, 2008 Report Share Posted July 29, 2008 Hello all! I was wondering if doing a repeat loop through file names that I could find the file .ext of whatever file in a specific folder? Let's say I am repeating with Folder and looping to find file names and looking specifically for the extensions i.e. .doc, .xls. pdf etc. I am not actually looking for specific file extensions rather I want ME to tell me what they are(for each file). Can ME do this? Thanks! -P Quote Link to comment Share on other sites More sharing options...
stan Posted July 29, 2008 Report Share Posted July 29, 2008 Yes, Macro Express will do this. Use the Repeat with Folder command and save the file name to a variable such as T1. Then use the Variable Set from File Path command to save the file extension to a variable such as T2. Enter %T1% in the Filename/Path field if you saved the file name in the previous command to T1. 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.