Excel Macro to parse list of excel files and move them depending on a single cells value

5 pts.
Tags:
Excel macros
Microsoft Excel
Does anyone know how to creat an Excel macro that I can run on a directory of excel files that will look for a value of cell B47 and if it's > 600 move it to another directory and if it's < 600 move it to another one?
ASKED: October 10, 2008  8:26 PM
UPDATED: November 16, 2008  2:09 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can use the Scripting.FileSystemObject to loop through all the files in a folder. And here’s some code to read information from a closed workbook:

http://vbanet.blogspot.com/2008/11/cell-read-closed-files.html

HTH,
JP

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following