Thank you so much Leith!
Just so I can understand the added code better, can you briefly explain the syntax you entered to determine LastCol?
Thank you so much Leith!
Just so I can understand the added code better, can you briefly explain the syntax you entered to determine LastCol?
Hello gsurge,
The code used to find the last column searches the worksheet cells column by column starting with the last column and moving left until it finds a cell in a column or it returns back to cell "A1". The "*" is a wildcard meaning any value in the cell.
By checking if the result is "Nothing", the decision is made to either extract the column of the last cell or skip to the next workbook. If the resulting Range object isn't check to be "Nothing", a error will occur.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
thank you so much for the help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks