ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   opening a workbook from an windows forms app (https://www.excelbanter.com/excel-programming/390523-opening-workbook-windows-forms-app.html)

Sven[_8_]

opening a workbook from an windows forms app
 
i have a windows forms app where users input simple text data. i would like
to print that data by copying it onto an excel spreadsheet. problem is, i
can't seem to figure out to perform the simple task of opening the workbook
from code. any ideas?

note: i have VSTO, if this helps.

Tom Ogilvy

opening a workbook from an windows forms app
 
check out this site:

http://msdn2.microsoft.com/en-us/office/default.aspx

--
Regards,
Tom Ogilvy


"Sven" wrote:

i have a windows forms app where users input simple text data. i would like
to print that data by copying it onto an excel spreadsheet. problem is, i
can't seem to figure out to perform the simple task of opening the workbook
from code. any ideas?

note: i have VSTO, if this helps.


Sven[_8_]

opening a workbook from an windows forms app
 
i've been looking around there, but all the article assume you are working
with one project. i need to be able to compile an excel workbook project and
call it's functions. (Or preferably, just add the neccessary references to
my windows forms app and automate all of it form there.)
any more specific links?

"Tom Ogilvy" wrote:

check out this site:

http://msdn2.microsoft.com/en-us/office/default.aspx

--
Regards,
Tom Ogilvy


"Sven" wrote:

i have a windows forms app where users input simple text data. i would like
to print that data by copying it onto an excel spreadsheet. problem is, i
can't seem to figure out to perform the simple task of opening the workbook
from code. any ideas?

note: i have VSTO, if this helps.


Tom Ogilvy

opening a workbook from an windows forms app
 
I think you will be hard pressed to compile an excel workbook project .
Excel's functions are embedded with the Excel executable.
Or else I don't understand you terminology.

Maybe you should ask your question in the Office Developer newsgroups - they
are more oriented to VSTO. This group is more oriented to the internal
scripting of Excel.

--
Regards,
Tom Ogilvy



"Sven" wrote:

i've been looking around there, but all the article assume you are working
with one project. i need to be able to compile an excel workbook project and
call it's functions. (Or preferably, just add the neccessary references to
my windows forms app and automate all of it form there.)
any more specific links?

"Tom Ogilvy" wrote:

check out this site:

http://msdn2.microsoft.com/en-us/office/default.aspx

--
Regards,
Tom Ogilvy


"Sven" wrote:

i have a windows forms app where users input simple text data. i would like
to print that data by copying it onto an excel spreadsheet. problem is, i
can't seem to figure out to perform the simple task of opening the workbook
from code. any ideas?

note: i have VSTO, if this helps.



All times are GMT +1. The time now is 09:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com