?
Solved

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

Posted on 2009-05-18
4
Medium Priority
?
178 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

807 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