Solved

Read code in add-in - .xll - Excel 2003

Posted on 2011-09-28
5
296 Views
Last Modified: 2012-05-12
Hi,

Can any please tell me how to read/eidt code in xll
I have never worked on it before but the assumption is that they are written in vba/c#?

Thanks
0
Comment
Question by:SameerMirza
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:mustang83
ID: 36715824
Hi it is VBA.

You can view the editor by clicked tools > Macro > Visual Basic Editor

You can get a foundation on what you want by recording a macro. This will create some of the vb for you to work with.

This is quite a useful site if you are a beginner at vb

http://www.angelfire.com/biz7/julian_s/julian/julians_macros.htm
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 36715928
XLLs are not VBA - they are usually written in C++. Unless you have the source code, you cannot read or edit them.
0
 

Author Comment

by:SameerMirza
ID: 36715973
thanks rorya.
c++ or c# isnt it?
I heared that you can write one c# too. - please confirm

secondly how do I check if I have source code or not.
I can see a dll and dna? file in the same folder.
Are you aware of ERXML.xll - (add-in) - just checking if its something commonly used or writtin in-house.

Many thanks
0
 
LVL 85

Assisted Solution

by:Rory Archibald
Rory Archibald earned 500 total points
ID: 36715994
If you didn't write it, the chances of you having the source code are very, very slim.

To the best of my knowledge, it is not recommended to write XLLs in managed code, so C# is a bit of a risk, although there are tools that will transform .Net code into XLL. Excel-DNA is one of those, so the fact that you have a dna file would suggest that the code was originally created in .Net.

I have never heard of ERXML.
0
 

Author Closing Comment

by:SameerMirza
ID: 36998810
thanks
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

758 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