Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to build a bulletproof application Using excel

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default How to build a bulletproof application Using excel

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" wrote in message
...
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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default How to build a bulletproof application Using excel

On Oct 12, 1:07*am, Bugs 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
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 139
Default How to build a bulletproof application Using excel

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
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to build a bulletproof application Using excel

On Oct 12, 1:07*am, Bugs 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel PC Build VBA007 Excel Discussion (Misc queries) 8 March 18th 10 12:49 PM
Simple and Bulletproof Save/SaveAs Procedure Lazzaroni Excel Programming 1 August 4th 06 06:11 PM
Build an excel application David Smith[_3_] Excel Programming 0 September 28th 05 11:45 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
How to build build a macro that automatically imports PedroPeso Excel Programming 1 December 26th 03 08:14 PM


All times are GMT +1. The time now is 09:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"