Solved

How to link to a Spreadsheet on a windows .net form?

Posted on 2006-11-21
2
188 Views
Last Modified: 2010-04-16
How do I add link to a windows .net form to an excel spreadsheet?  I want the user to be able to click some text and then open up the excel document.  For example, I have the following spreadsheet on my local drive which I want to add to the windows forms C:\Southern\Apps\ESW\FS2sourceCode\FS2WinFormApp\Reports\Braising Pan Operating Cost Tool.xls.  When the users clicks "Braising Pan Operating Calculator" on the windows form the Excel document will open.  
0
Comment
Question by:Hojoformo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 10

Expert Comment

by:tpwells
ID: 17989641
You can launch the excel file this way:

System.Diagnostics.Process.Start("C:\Southern\Apps\ESW\FS2sourceCode\FS2WinFormApp\Reports\Braising Pan Operating Cost Tool.xls");
0
 
LVL 10

Accepted Solution

by:
tpwells earned 500 total points
ID: 17989642
Is that what you are looking for?
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question