This is making a compile error. I believe I am not pointing to the Tab that contains my 'table_array'.
This is the formula without values, Table_Array
The highlighted section I believe I am doing wrong, my tab is called 'CATMAP'
This is making a compile error. I believe I am not pointing to the Tab that contains my 'table_array'.
This is the formula without values, Table_Array
The highlighted section I believe I am doing wrong, my tab is called 'CATMAP'
The issue is that Worksheets(CATMAP),Column."A:B"
is no valid syntax.
Instead use …
Worksheets(CATMAP).Range("A:B")
if CATMAP
is a variable.Worksheets("CATMAP").Range("A:B")
if CATMAP
is the name of your worksheet.Also the way you use L2
means that L2
is a variable name. If you want to use the value of cell L2 than it must be something like Worksheets("CATMAP").Range("L2")
.
Additionally I recommend to read How to avoid using Select in Excel VBA. Not using .Select
at all is a very good practice and prevents many errors.