detlion1643
Board Regular
- Joined
- Nov 25, 2009
- Messages
- 164
I have some code that takes a column and compares it to a column in a backup file. The code I have works if i specify the workbook to open. I already have code that gets the filename of the currently open workbook. What I am looking for is a way to loop through each .xls file in a directory. Basically open a file, get filename (already have), run code (already have), then close file.
I've never been good with fso's or the bunch.
Code:
For each *.xls in *
get filename
run code
close file
I've never been good with fso's or the bunch.