PC Review


Reply
Thread Tools Rate Thread

Converting excel speardsheets/macro into a database system

 
 
=?Utf-8?B?Q2FtbXk=?=
Guest
Posts: n/a
 
      17th Oct 2006
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?
 
Reply With Quote
 
 
 
 
Jim Rech
Guest
Posts: n/a
 
      17th Oct 2006
>>For the meantime I have protected the cells/worksheets where possible.

That's the way to go, as I've done for over 20 years of spreadsheet
application development. If someone really wants to change your formulas
you can't stop him but so what? He'll get the wrong answers. In the
systems I've worked on where a user might legitimately want to get a
different result than the formulas calculate I give users override cells.
"Here's the result but enter a different amount over here to be carried
forward if you don't like it."

If you'd prefer a different platform than Excel you might look at Visual
Studio (Visual C# / Visual Basic). You can create user forms there and do
your calculations in code. Also, you can meld the two with a COM add-in
that gets input from a sheet, does the calcs in code and puts the results
back in the sheet. This raises the complexity a lot but you'd learn a new
skill in the process.

--
Jim
"Cammy" <(E-Mail Removed)> wrote in message
news:2631B7AC-BA49-4B90-8D96-(E-Mail Removed)...
|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?


 
Reply With Quote
 
=?Utf-8?B?Q2FtbXk=?=
Guest
Posts: n/a
 
      17th Oct 2006
Thanks Jim
I think that perhaps I should leave this project on the backburner for now.
Having spoken further with my boss he prefers to have access to the original
spreadsheets so he can easily check that the calculations are correct. If a
new system is utilised it would be probably best (in terms of efficiency) to
hire a programmer to do the underlying coding. I would prefer to concentrate
on learning more about finance/markets than programming for the meantime.
: )

"Jim Rech" wrote:

> >>For the meantime I have protected the cells/worksheets where possible.

>
> That's the way to go, as I've done for over 20 years of spreadsheet
> application development. If someone really wants to change your formulas
> you can't stop him but so what? He'll get the wrong answers. In the
> systems I've worked on where a user might legitimately want to get a
> different result than the formulas calculate I give users override cells.
> "Here's the result but enter a different amount over here to be carried
> forward if you don't like it."
>
> If you'd prefer a different platform than Excel you might look at Visual
> Studio (Visual C# / Visual Basic). You can create user forms there and do
> your calculations in code. Also, you can meld the two with a COM add-in
> that gets input from a sheet, does the calcs in code and puts the results
> back in the sheet. This raises the complexity a lot but you'd learn a new
> skill in the process.
>
> --
> Jim
> "Cammy" <(E-Mail Removed)> wrote in message
> news:2631B7AC-BA49-4B90-8D96-(E-Mail Removed)...
> |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?
>
>
>

 
Reply With Quote
 
webmaster@rapidxll.net
Guest
Posts: n/a
 
      24th Nov 2006

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?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Need macro for excel to get data from server database and use results to populate an Access Database Clinton M James Microsoft Access 1 7th Oct 2007 04:32 PM
Converting Excel '03 Spreadsheet to Access '03 Database =?Utf-8?B?c2xpbmdlcg==?= Microsoft Access 5 20th Sep 2007 09:50 PM
Converting Excel spreadsheets to an access database mikael.lindqvist@skane.se Microsoft Access 4 9th Dec 2006 12:14 AM
Using Excel as a database and need macro or vba to take data entered on one tab and update the database by adding to the next avail row rjr Microsoft Excel Programming 5 11th Jun 2006 09:43 PM
Converting Word labels to Excel Database Mary Microsoft Excel Misc 3 13th Jul 2004 03:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:45 AM.