View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Pat Lenahan Pat Lenahan is offline
external usenet poster
 
Posts: 4
Default Help with excel!

This one line errors out.
lastrow = nfrcws.Range("A65536").End(excel.XlDirection.xlUp) .Row + 1

vb.net gives this error below. Im using vb.net with excel 2000


An unhandled exception of type 'System.MissingMemberException' occurred in
microsoft.visualbasic.dll

Additional information: Public member 'XlDirection' on type
'ApplicationClass' not found.