I have this code that I want to replace the "D2" cell reference with the header name of the table
With Cell Reference
I want something like this, but this gives me an error code
With Cell Reference
VBA Code:
Range(("D2"), Range("D2").End(xlToRight)).Select
I want something like this, but this gives me an error code
VBA Code:
Range("TBL_Jan_JPR[[#Headers],[ACCEPTED CONTRACT]]", Range("TBL_Jan_JPR[[#Headers],[ACCEPTED CONTRACT]]").End(xlToRight)).Select