Hi,
I am running into the Error 1004 "Application-defined or Object-defined error" when selecting a dynamic range
The error is on the line "db.Range(FCST1, db.Cells(lr1, lc1)).Select"![]()
Please Login or Register to view this content.
the above code is for one table and I have three more tables to use a similar code on.
I am not sure what is causing the issue. I referred to several solutions online but nothing seem to work. I am trying to add borders for dynamic tables with data. Tables are created using a different set of codes and they are distributed in one sheet, each table starting from first cells of different columns.
Thanks in advance
For ex: table 1 start at "A1", table 2 at "D1" and so on.
I also have tried the commented codes above but still got the same error code on the same line.
Bookmarks