View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
lmiguel lmiguel is offline
external usenet poster
 
Posts: 2
Default Problem with progamatically defined named ranges

On Jul 2, 11:01*am, wrote:
Duh!

It works fine. *I failed to mention (because I didn't think about it) that
the code was in an addin. *I should have used ActibeWorkbook instead of
ThisWorkbook.


ActiveWorkbook is for the book that is active
ThisWorkbook is the book that contains the code.