Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Windows Explorer... Timmy Mac1[_7_] Excel Programming 1 May 15th 06 12:42 PM
Need a sample or VBA code to open a C# windows forms in Excel using Macro dotnetguys Excel Programming 0 February 3rd 06 02:05 PM
owc10 pivotchart save in c# windows forms of vs.net Delphi Charts and Charting in Excel 0 November 30th 05 05:59 AM
Opening User Forms MAWII Excel Programming 2 July 29th 05 04:36 PM
Office Chart 10.0 on Windows Forms(.NET) Alper AKCAYOZ Charts and Charting in Excel 0 March 9th 05 08:05 AM


All times are GMT +1. The time now is 03:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"