Solved

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

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

734 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