Thread
:
Naming a range with VBA...
View Single Post
#
5
Posted to microsoft.public.excel.programming
Pete McCOsh
external usenet poster
Posts: 64
Naming a range with VBA...
sAddr dosn't get accepted as a cell address...
sAddr = ActiveCell.Address
ActiveWorkbook.Names.Add Name:="test",
RefersToR1C1:="=Lister!R1C7:sAddr"
Try:
RefersTo:="=Lister!G1:" & sAddr
Cheers, Pete.
Reply With Quote
Pete McCOsh
View Public Profile
Find all posts by Pete McCOsh