trying to insert a formula to link a cell to another worksheet in my workbook, which I I’m have assigned a text variable “Sheet_Name”.
This is the code I have written………………..
Range("F13").Select
ActiveCell.FormulaR1C1 = "=’" & Sheet_Name & "'!D13"
This is the result I get which produces an error……………………………..
=@'03.00 - Building Concrete'!'D13'
What am I doing wrong?
This is the code I have written………………..
Range("F13").Select
ActiveCell.FormulaR1C1 = "=’" & Sheet_Name & "'!D13"
This is the result I get which produces an error……………………………..
=@'03.00 - Building Concrete'!'D13'
What am I doing wrong?