Create .xls file and export all open worksheets

B

Ben

Hi,

I have been trying to write a method that creates a new .xls file and copies
any open worksheets to it. What is the best way to do this? The application
is written in c# and is using VSTO. The excel version is 2003.

Thanks.

Ben.
 
C

Cindy M.

Hi =?Utf-8?B?QmVu?=,
I have been trying to write a method that creates a new .xls file and copies
any open worksheets to it. What is the best way to do this? The application
is written in c# and is using VSTO. The excel version is 2003.
Open worksheets doesn't make a lot of sense... You mean all the worksheets in
all open workbooks? Or all the worksheets in the VSTO workbook? Or something
else?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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

Top