The trickiest part of C / C++ is navigating pointers ... which covers
most of the difficulty in the Excel C API. This difficulty is
completely eliminated with some tools, such as RapidXLL. Then you
can write functions, our use numerical tools, which pass entire ranges
of values without touching these pointers.
RapidXLL_NET automatically interfaces native C / C++ with Excel Add-Ins
and the .NET framework. Visit
http://www.RapidXLL.net for samples
and a free trial.
Then you could write functions like this
RAPID_EXPORT
double getNextPrime(const double aNumber);
or pass entire ranges like this
RAPID_EXPORT
RapidValue computeVariance(const RapidRange& correlationMatrix, const
RapidRange& positionsVector);
Sincerely,
The RapidXLL Team
Cammy wrote:
> I have constructed many interlinking excel based spreadsheets which have
> numerous functionality through a series of macros I have written.
>
> I realise that a lot of the calculation in the spreadsheet can be
> altered/tampered with. Is there some system/software where I can have the
> calculations in the background and just display the results so the
> calculations cannot be tampered with and the new inputs can be easly entered?
>
> Please note the only programming experience I have is with excel VBA, so I
> doubt I wil be able to cope with any really complicated programming languages
> (C++ etc).
>
> For the meantime I have protected the cells/worksheets where possible.
>
> Can anyone offer me any suggestions of how I can improve my systems?