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
Solved

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

Posted on 2009-05-18
4
168 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Random times with 12/24 hour switching 9 27
Getting rid of #VALUE! 7 22
A Table within a User Form 24 42
Formula in  Excel or vba to transfer values from Column X to Y 5 29
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

839 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