Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Saturday at 3:51 PM
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Nov 4, 2026
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Nov 2, 2026
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
C# Programing FAQ - Post here
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="asachan" data-source="post: 4952089" data-attributes="member: 189916"><p>Look machan i will help you to access to the Excel in C#</p><p>and you need to do the rest. (Cus it's the easy part )</p><p></p><p>1. add a referance to Excel object library . </p><p></p><p>2. using Microsoft.Office.Interop.Excel;</p><p></p><p>3. in your method here is how you gonna access excel runtime</p><p></p><p></p><p> Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();</p><p> Microsoft.Office.Interop.Excel.Workbook excelBook = excelApp.Workbooks.Add(XlWBATemplate.xlWBATWorksheet);</p><p> Microsoft.Office.Interop.Excel._Worksheet excelWorksheet = (Microsoft.Office.Interop.Excel._Worksheet)excelBook.Worksheets.get_Item(1);</p><p> excelApp.Visible = true;</p><p></p><p>Try to understand this .</p><p>what it will do is create a empty excel workbook and show it</p><p>When you understand it reply and i will go forword</p></blockquote><p></p>
[QUOTE="asachan, post: 4952089, member: 189916"] Look machan i will help you to access to the Excel in C# and you need to do the rest. (Cus it's the easy part ) 1. add a referance to Excel object library . 2. using Microsoft.Office.Interop.Excel; 3. in your method here is how you gonna access excel runtime Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel.Workbook excelBook = excelApp.Workbooks.Add(XlWBATemplate.xlWBATWorksheet); Microsoft.Office.Interop.Excel._Worksheet excelWorksheet = (Microsoft.Office.Interop.Excel._Worksheet)excelBook.Worksheets.get_Item(1); excelApp.Visible = true; Try to understand this . what it will do is create a empty excel workbook and show it When you understand it reply and i will go forword [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom