PC Review


Reply
Thread Tools Rate Thread

How to build a bulletproof application Using excel

 
 
Bugs
Guest
Posts: n/a
 
      12th Oct 2010
Excel is the most flexible software to build, in a very fast way,
calculation tool (workbooks), even for unexperience programmers.
But when you try to share the workbook with someone, you realise that
the resulting application is not bulletproof with respect to an
unexpert use (the recipient may unvoulontary cancel some formula
cells). Things get even worst when you should distrbute it to more
than a user with a common dataset. Or when you should modify or bugfix
an already distributed workbook which as been modified by the users.
Could you please give me some references in which I can find answers
to this problems? In other words I need some directions in order to
get a bulletproof and mantainable application from an excel
workbook.
 
Reply With Quote
 
 
 
 
Peter T
Guest
Posts: n/a
 
      12th Oct 2010
As you say the most carefully constructed Excel app will work fine until a
user is allowed to touch it! In general, if the potential exists for
something to go wrong - it will. There's no one size fits all type answer
but typically Excel app's may include the following -

Input
Output
Data
Calculation/processing (eg formulas and/or code)

Aim for the user only to be able to touch Input cells (or controls on a
form). All the rest should be out of reach and/or protected. Some use the
term "lock(ed)-down". In addition, Input may require some form of validation
before processing or transferring to Data. Don't let user insert rows or
columns, particularly where formulas are included say at the ends.

All this of course is very general advice and your app may need to be
approached in a different way. One book you might find useful is "Excel
Professional Development" (Bullen, Bovey & Green), it includes working
examples along the lines of the above. There's a 2007 edition but even the
old 2003 version would be worth picking up S/H (make sure the CD is
included).

Regards,
Peter T


"Bugs" <(E-Mail Removed)> wrote in message
news:b272df66-b457-42c8-8385-(E-Mail Removed)...
> Excel is the most flexible software to build, in a very fast way,
> calculation tool (workbooks), even for unexperience programmers.
> But when you try to share the workbook with someone, you realise that
> the resulting application is not bulletproof with respect to an
> unexpert use (the recipient may unvoulontary cancel some formula
> cells). Things get even worst when you should distrbute it to more
> than a user with a common dataset. Or when you should modify or bugfix
> an already distributed workbook which as been modified by the users.
> Could you please give me some references in which I can find answers
> to this problems? In other words I need some directions in order to
> get a bulletproof and mantainable application from an excel
> workbook.
>


 
Reply With Quote
 
Don Guillett Excel MVP
Guest
Posts: n/a
 
      12th Oct 2010
On Oct 12, 1:07*am, Bugs <Andrea.bu...@yahoo.it> wrote:
> Excel is the most flexible software to build, in a very fast way,
> calculation tool (workbooks), even for unexperience programmers.
> But when you try to share the workbook with someone, you realise that
> the resulting application is not bulletproof with respect to an
> unexpert use (the recipient may unvoulontary cancel some formula
> cells). Things get even worst when you should distrbute it to more
> than a user with a common dataset. Or when you should modify or bugfix
> an already distributed workbook which as been modified by the users.
> Could you please give me some references in which I can find answers
> to this problems? In other words I need some directions in order to
> get a bulletproof and mantainable application from an excel
> workbook.


Another idea is to have a macro restore your formulas
range("d3").formula="=d1*d2"
or even NOT have formulas. Just a macro button to make the
calculations and show them in the cells, ie: Protect the macros
project

Sub doformula()
range("d3").Value = Range("d1") * Range("d2")
End Sub
 
Reply With Quote
 
(PeteCresswell)
Guest
Posts: n/a
 
      12th Oct 2010
Per Bugs:
>In other words I need some directions in order to
>get a bulletproof and mantainable application from an excel
>workbook.


One approach would be to write a user interface using something
like MS Access or .NET.

That UI would manage the user's interaction and make calls to
Excel.

This would also address the issue of bug fixes, since they could
be implemented by rolling out a new version of the application.
--
PeteCresswell
 
Reply With Quote
 
rhoRo
Guest
Posts: n/a
 
      16th Oct 2010
On Oct 12, 1:07*am, Bugs <Andrea.bu...@yahoo.it> wrote:
> <snip>...
> Could you please give me some references in which I can find answers
> to this problems? In other words I need some directions in order to
> get a bulletproof and mantainable application from an excel
> workbook.


try using a spreadsheet compiler. googling 'excel compiler' will give
you several hits.

good luck!
r.
 
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
The Next Build Shall be RTM guys not any other builds unless MS decides to do one more build because of bugs before RTM RC2 build 5477 is the last build before RTM Drew Windows Vista General Discussion 8 13th Oct 2006 12:41 AM
Build an excel application David Smith Microsoft Excel Programming 0 28th Sep 2005 11:45 PM
BulletProof software mgm Windows XP Security 14 23rd Jul 2005 12:22 AM
W2K Pro Update... Is there a bulletproof install yet? drgrafix@hotpotato.com Microsoft Windows 2000 Setup 1 21st Sep 2003 11:12 PM
Bulletproof Freeware alserlhsd Freeware 5 7th Aug 2003 10:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 PM.