View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Andre Achtermeier Andre Achtermeier is offline
external usenet poster
 
Posts: 2
Default Define Names / RefersToRange

hi,

i defined a Name "MyName" like

=locACTIVE_Template!$P$49;locACTIVE_Template!$P$86

in VBA i wrote

Dim rng As Range
Set rng = ActiveWorkbook.Names("MyName").RefersToRange

but the code fails and the RefersToRange is nothing.

any idea?



--
André Achtermeier
----------------------------------------------
www.appliedtechnologies.de
----------------------------------------------