View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ivan Raiminius Ivan Raiminius is offline
external usenet poster
 
Posts: 258
Default Can somebody tell me what cause the mistake?

Hi,

probably you need something like this:

activeworkbook.names.add name:="tbl_left", refersto:= "'" & "Inventory"
& "'!" & "A8:N" worksheets("Inventory").range("a7").End(xlDown).Ro w

If I understood your question correctly.

Regards,
Ivan