someone suggest the L'Aggrange interpolation, using Vba but i am not an expert in Vba if someone have been use this interpolation before please give any advise.
i try to make a function in excel vba but it's not correct
Doing a brief web search for VBA LAgrange interpolation brought up this file: LAgrange
You could start with that and modify it to fit your needs.
Related
Hi any remedy to make my excel faster?
This is some sample of my excel formulas
Please help me this is the first time I experience this issue don't know what to do.
Thank you
I'm trying to add an arrow to my Excel online document, that changes colour dependent on another cell being positive or negative. In Excel desktop this is easy, but is it possible in the online version?
You can't use macros (to the best of my knowledge), so VBA is out. CF add in's don't work, and you can't use linked pictures.
Any help would be greatly appreciated
I have created a GAMS model that takes parameters from Excel and gives back the results to another Excel file. Now, i want to run my GAMS model from the Excel VBA so that it will become more user-friendly. Is it possible to do.
Any help would be greatly appreciated.
If you go here (https://www.gams.com/31/datalib_ml/libhtml/index.html#datalib) and filter for "vba" you will find a few examples doing exactly this.
Just to reconfirm, I do not need the recorded macro of the solver add-in, however I need the complete vba algorithm. I would be extremely grateful If anyone have any such code (or a link to the code) and share it.
Thanks
Solver is a proprietary product produced by FrontLineSolvers. It is not written in VBA.
See http://www.solver.com/ for details of their products and the names of the algorithms they use.
To extract the first coefficient of polynom which approximate a function, I use this formula:
=INDEX(DROITEREG(B2:B10;A2:A10^{1.2.3});1)
But when i want to use it as a VBA code like that :
a = INDEX(DROITEREG(B2:B10;A2:A10^{1.2.3});1)
I get a syntax error
Can someone help me to resolve this problem? Thank you
To use Excel formulas in VBA you must use Application.WorksheetFunction.<function name> as follows (if using inside of Excel, the Application. can be left out):
a = Application.WorksheetFunction.Index(DROITEREG(B2:B10;A2:A10^{1.2.3});1)
I was unsure how to implement the DROITEREG function and left it as is.
See MSDN for more info