If you have a cell in your template you can assign this formula to it which should make it pretty simple
This makes the assumption that your data is on Sheet1 in your Master workbook and that you want to find the bottom row of Column A and the data in Column A is alphanumeric. Then you can reference that cell in your code. Otherwise, you can also use ADO (or other database connection methods) to connect to the closed workbook and get the record count of the table. If ADO is the route you want to go do a search in this forum for ADO from Excel Database...I'm sure there's a lot out there already. Thanks!
Bookmarks