Solved

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

Posted on 2011-09-28
5
316 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

773 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