How to use excel calculation page ported to VB. Exe program?
Time:09-21
The situation is like this: Within the company has a more complex coefficient calculation Excel spreadsheets, Excel spreadsheets are very vulnerable to crack, however, is want to Excel in EXE program, The Excel spreadsheet has many forms, but only a few places is the input of original data, other places are multifarious formula form, Finally the calculated data is displayed in a specific field,
Consult a great god, and want to use visual studio to the function realization of what to do?
First of all, the application of Excel formula can fill in the formula in table next to the list then direct reference to the original data input, can be layers of reference, the final results, 1. But not so many blank Spaces in the visual studio, how should solve? 2. The problem of data mutual reference how to solve? The program itself is not difficult, just mutual reference between the data is very complex, 3. Is there a way to make the contents of the Excel spreadsheet called directly into the visual studio, then only the output in the window? And argue that the EXE program on any computer can realize functions?
Master looking for some ideas!
CodePudding user response:
Formula can be "layers of reference," Do in programming languages, can not take "the previous formula" as a result, as the next step calculation "data input"!
CodePudding user response:
Have no choice, only a formula of a formula to straighten out its Since all use VS, why not open the bondage of EXCEL jump?
CodePudding user response:
Even those formula is provided in Excel algorithm, don't know how to write their own code, Can also create Excel object, through this object to invoke the formula of calculation result obtained it,
Own program interface, can use a few text box (or form) allow the user to input the raw data, And then as a "formula" of the original data to calculate,