Wsheet is the activesheet name.
SalesPeople is the sheet that has the salespeople's names.
I want to name a cell on the active sheet (i.e Branch8) _
using the activesheet's name and the salespersons _
name from the worksheet "SalesPeople".
Example: "JoeBranch8"
None of the following work.
SalesPeople is the sheet that has the salespeople's names.
I want to name a cell on the active sheet (i.e Branch8) _
using the activesheet's name and the salespersons _
name from the worksheet "SalesPeople".
Example: "JoeBranch8"
None of the following work.
Code:
.Offset(0, 11).Name = Worksheets("SalesPeople").Range("B1").Value & " " & Wsheet
.Offset(0, 11).Name = Worksheets("SalesPeople").Range("B1").Value & "!" & Wsheet
.Offset(0, 11).Name = Worksheets("SalesPeople").Range("B1") & Wsheet