Jump to content
Macro Express Forums

Please help a Noob...


Recommended Posts

What I need help with is this:

I need some way to cycle thru all files in a directory.

Choose the topmost file

Create a new directory in a different location and name it the same as that file

Move the file there.

Open the file.




Can anyone help me please?

Thanks for looking


Link to comment
Share on other sites

I need some way to cycle thru all files in a directory.

Take a look at the Repeat with Folder command. There is an example of how this in the 'Process Folder' macro found in the 'Samples.mex' macro file installed in the folder where your Macro Express Program files are located (by default c:\Program Files\Macro Express3).


There are a couple of ways to load these macros to allow you see how they work.


1. You could import them into your macro file by clicking File, Import, Import Macros. Choose the samples.mex (by default located in c:\Program Files\Macro Express3).


2. You could also open the samples.mex file in Macro Express. Click File, Open Macro File and choose samples.mex (again, in the folder where the Macro Express program files are loaded). If you choose to do this make sure that you Reopen your existing macro file (File, Reopen) before editing any macros in this file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...