View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ell[_5_] ell[_5_] is offline
external usenet poster
 
Posts: 4
Default range name define on non active(focused) sheet

VBA Code range name define on other sheet

I use more than one sheet,
the focus is on sheet1
how I can , define a range name (with Names object let say) on sheet2
while the focus ,means active screen, is on sheet1.

I got an error that the application object of range name (in sheet2)
is not defined...
if I make active sheet as sheet2 , it works correctly

any help will be appreciated

EL