Create dynamic named range in VBA that references ListObjects table
问题 I need to create a named range that refers to the last few rows of data in a ListObject table. While I can do it manually from the ribbon (Formulas > Define Name) I have to do this across 20 sheets with 3 ranges each. When I try this using VBA I get error 1004 and a warning that there's a problem with the formula and to remove the "=" if I'm not trying to enter a formula. Any ideas how to resolve this? Open a fresh Sheet1 to try my code. It'll create a ListObjects table and will try to create