Is there a way I can us strName in place of 'X009516'! so that I can have the macro pull from a user designated (entered into M5) sheet?
Thanks in advance for any advice!
Code:
Dim strName As String
strName = Range("M5")
Range("B1").Select
Selection.End(xlDown).Offset(1).Select
ActiveCell.Formula = "='X009516'!B1"
Selection.Offset(0, 1).Select
ActiveCell.Formula = "='X009516'!C9"
Selection.Offset(0, 1).Select
Thanks in advance for any advice!