Solved

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

Posted on 2011-09-28
5
341 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
[X]
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
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

615 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