Have you tried:
FemaleValue= Range(“BG_F”).Value
Also instead of using the ADD NAMES, it is often easier to just use the range object:
Range(“D” & NextRow + 1).Name:=”BG_F”Steve
I’ve used named range formulas for years with various syntaxes such as the following line from within a With Names grouping.
.Add Name:=”MudInAnnulusVariations”, RefersTo:=”=offset(‘Mud Circ Temps’!$B$9,0,9,COUNTA(‘Mud Circ Temps’!$B:$B)-5)”
When I attempt to use the shorter syntax as you show in this previous thread here, I get a “Compile Error” “Expected: expression” dialog box. I’ve added Activeworkbook, ActiveSheet, Application and nothing eliminates that error.
I am running Windows 7 Ultimate 64 with Office 2007 Professional with SP2.
Any clues?
Mark Trevithick