G
Guest
Hi,
If I am using a worksheet codename, how would I use it in this formula?
Range("A10").Select
ActivateCell.formulaR1C1 = "='Mainsheet'!R10C22"
The sheet's code name is MainPage. I have tried leaving out the single
quotes i.e.
ActivateCell.FormulaR1C1 = "=MainPage!R10C22"
but it doesn't work. How would I use a sheet code name in this instance?
Thanks for your help.
If I am using a worksheet codename, how would I use it in this formula?
Range("A10").Select
ActivateCell.formulaR1C1 = "='Mainsheet'!R10C22"
The sheet's code name is MainPage. I have tried leaving out the single
quotes i.e.
ActivateCell.FormulaR1C1 = "=MainPage!R10C22"
but it doesn't work. How would I use a sheet code name in this instance?
Thanks for your help.