Hi Rachael,
I have also tried
ActiveWorkBook.Names.Add Name:strRangeName,
RefersTo:=strRefersTo
No matter what I try I can not define named ranges
Make that:
ActiveWorkBook.Names.Add Name:strRangeName,
RefersToR1C1:=Activeworkbook.Activesheet.Range(str StartOfRange & ":" &
sreEndOfRange)
Note that by defining these names the "old" names (to the other sheets)
will be overwritten.
NB: Download my name manager from my website!
Regards,
Jan Karel Pieterse
Excel MVP
www.jkp-ads.com