Solved

Where to find the specification of Excel Object libarary API? (Excel 2003)

Posted on 2009-05-18
4
164 Views
Last Modified: 2013-12-17
Hi Experts:

    I am trying to write program to work with Microsoft Excel, and I know it can work like the following:
**********************************************
using Excel;
            Excel.Application excel = null;
            Excel.Workbook wb = null;
            Excel.Worksheet ws = null;
            Excel.Range rng = null;
            object missing = Type.Missing;
            excel = new Excel.Application();
            wb = excel.Workbooks.Add(missing);
            ws = wb.ActiveSheet;
            rng = ws.get_Range("A1", missing);
            rng.Value2 = "Techrepublic.com";
**************************************************

However, I cannot find the complete reference of the Excel Object library even though I can find some tutorial. Do you know where is the specification of each class and member of this library? Thank you!

Sui
0
Comment
Question by:huangs3
  • 2
4 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 24419028
Using the Object Browser in the Excel VBEditor will give you a list of the properties/methods/classes and MSDN is a good resource for programming with Office and .Net: http://msdn.microsoft.com/en-us/vsto/default.aspx
Regards,
Rory
0
 
LVL 4

Expert Comment

by:BobP
ID: 24420609
You could get hold Excel VBA Programmers Reference by Stephen Bullen, John Green, Rob Bovey & Mike ALexander, that has an object model reference within it, a bit simpler than trying to do it on-screen.
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 24420681
Fancy seeing you here! ;)
0
 

Author Closing Comment

by:huangs3
ID: 31582822
Thank you!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

759 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now