View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mikil Mikil is offline
external usenet poster
 
Posts: 1
Default get_Range function throws an exception

I am communicating with Excel Interop dll using c#. The get_Range
function throws an exception if the parameters are invalid. For e.g.
get_Range("Mikil", Type.Missing); will crash if the "Mikil" named range

is not present.
Why the does the function crash instead of returning "null"?