excel workbook

  • Thread starter Thread starter RobcPettit
  • Start date Start date
R

RobcPettit

Hi, how do I reference an already opened excel workbook. I can open a
workbook ok and send data. just cant reference it when open, to send
more data.
Regards Robert
 
I think ive craked it. Ive used excelApp =
(Excel.Application)System.Runtime.InteropServices.Marshal.GetActiveObject("Excel.Application");
to reference the rot table. I also found that I wasnt closing the file
correctly which left instance of excel in the procceses. If I get more
than one this code wont work.
Regards Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top