xlR1C1 is a reference style that is used to indicate how formulas work. Using this style, your formulas will work and look different than you expect. The R1C1 specification basically means that cells are referenced differently using row and column numbers instead of letter names. For example, when using xlR1C1, you will access cell B2 with =R2C2 ( =R2C2 , column 2). Another example, cell C10 can be called =R10C3
As for what happens on line 8 ... you create a link to the cell that looks like this: (Note that the link to the cell will be different because it has a file path)
='[Myfilename.xlsx]Sheet1'!R1C1
You can use the debugger to view the string contained in the arg variable.
source share