Referencing sheets with spaces
- by user2250964
I am having an issue with referencing the sheet name through =Branded!$A$1 Notation in VBA. For a while I have passed in simple sheet names like:
Dim SheetName As String
SheetName = "Pizza"
("=" & SheetName & "!$A$1")
This has worked fine, but recently I passed in "Tier 1" and of course this notation broke. Is there any fix or workaround for this? It Think it's because of the space, the number or both....