mgrantom Posted May 16, 2007 Report Share Posted May 16, 2007 I'm trying to write a macro to process files in a sub-folder. I want the macro to startup and get the list of files in the current folder, store the filename in a variable, the current folder name in a variable, the name of the parent folder in another variable. I will then use that information in another program where each variable will be pasted into various fields. I know that I can have ME allow me to browse for a folder to start with using the Set String from folder with prompt but this is too cumbersome. I want to either use Windows Explorer (launched to a particular folder) and then allow the user to browse to the correct folder. I cannot figure out how to pass the folder that has been browsed into to ME. I could also use a windows file | open dialog box from within Wordperfect (ver 12) which would already be in the correct folder. How can I pass the current folder in either Explorer or WP to the macro? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.