I just need the code to select the cell, however this cell selects the changes. I have a cell in the book that will determine what cell it should be. Cell A1 contains cell # to be selected.
In this example, cell A1 contains the word "P25", so I want the code below to refer to A1 for the indirect ref cell to P25, so it selects cell P25.
I tried both of these lines separately:
Sub IndirectCellSelect() Sheet.Range(INDIRECT(A1)).Select Range(INDIRECT(A1)).Select End Sub
I get a Sub error or Function is not detected when it falls into the word INDIRECT
Bryan source share