mansoorsak
New Member
- Joined
- Sep 19, 2011
- Messages
- 18
Hi
I have a requirement where I need to check the length of cell value in 2 ranges (eg. column A to Last row & column E to Last row) and also detect if a specific range in column is empty in about 60 files in a folder.
length (column a) should be exactly 32 characters long
length (column e) should be exactly 10 characters long
If any cell in these 3 columns doesn't match the above criteria, then it should replace the existing file name with prefix "error"
Considering the volume of data (60 files with 800k rows in each file) any short & simple code that takes shorter time in running the vba macro would be of great help.
Thanks in Advance for the help
I have a requirement where I need to check the length of cell value in 2 ranges (eg. column A to Last row & column E to Last row) and also detect if a specific range in column is empty in about 60 files in a folder.
length (column a) should be exactly 32 characters long
length (column e) should be exactly 10 characters long
If any cell in these 3 columns doesn't match the above criteria, then it should replace the existing file name with prefix "error"
Considering the volume of data (60 files with 800k rows in each file) any short & simple code that takes shorter time in running the vba macro would be of great help.
Thanks in Advance for the help