Hello, I am using the code below to create dynamic named ranges for a table of data. This code works wonderfully if there is only one data table in a workbook, however, if you use it on more than one data table it creates issues. The code creates a two named ranges ,"lrow" and "lcol" to count the last row and column of the worksheet. What I would like it to do is create those named ranges with the worksheet name appended to the front. So if your data table was on a worksheet named "data" the name of the two ranges would be "datalrow" and "datalcol". Modifying it in this way would allow you to use it on as many data tables you need in the same workbook.
Thanks for any help you can provide!
Clayton Grove
Bookmarks