February 11th, 2005, 9:36 am
QuoteOriginally posted by: jebusI have been developing a pricing application using Excel and VBA. Whoa! Rewind, rewind. Writing pricing applications in VBA is not a good idea for numerous reasons which I wont enumerate now. Just trust me.QuoteMy question: is there any easy way of integrating a program written in C++ or Java with excel? Ideally one which would read in parameters from the sheet and return an excel array? Or is that beyond the scope of excel?There is an open source wrapper for writing exactly what you want here XLW which I found very easy to get working with Visual C++ 6.0 [which isnt free but if youre employed in a bank will probably be effectively free]. However I found it easy because I've been playing with computer software for over 20 years and know when to just skip things I dont understand properly and concentrate on the important stuff. I could easily envisage it taking a few days for someone to get to grips with this, but worth the effort.If you really want to understand the issue inside-out you can buy the book "Excel add-in development in C/C++ Applications in Finance" by Steve Dalton which has already been reviewed on this site favourably. I've only just got it and havent worked through it yet. It will certainly tell you more than you could possibly want to know on the topic [it's telling me more than *I* want to know and I'm quite interested in the subject].