Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default Methodology Question

Greetings,
Prior to learning Excel VBA most of my programming was in C and
wasn't concerned with GUI interfaces (I am a mathematician who writes
programs more as an avocation in order to explore various
probabilistic and combinatorial problems). I've turned to VBA because
I can get functioning code quicker and because I find it fun to create
animated charts to illustrate the algorithms. Even though my programs
are for my own consumption, I have a perfectionistic streak and want
them to have at least a semi-professional look and feel. Towards this
end I have been gradually increasing my use of user forms and event
handlers. Mostly I have been adding these *after* the program is
functioning. As a result of this, my GUI elements seem to have an
ad-hoc feel about them since they really are a pretty thin layer over
the "real" code.

I am currently reading the book "Excel VBA - Professional
Projects" by Duane Birnbaum and have been struck by the way that he
tends to (after clearly specifying the project and outlining the
solution) create user forms and custom tool bars *before* writing the
bulk of the code. Steve Roman's book seems similar. So my long-winded
question is: which seems to work better, starting with an interface
and then gradually fleshing out the code behind it, or coding the core
logic and then creating a graphical front end for it? Is there some
sort of consensus amoung developers or is this just a matter of taste?

Thank you for your time.

-John Coleman
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Methodology Question

hi,
starting with the form is best. i usually draw it out
with pencil and paper first and list all general
functions. then get user input. this gives you an idea of
how much code you may have to write. and you get ideas
and you work it out on paper first.
thats my opinion.
-----Original Message-----
Greetings,
Prior to learning Excel VBA most of my programming

was in C and
wasn't concerned with GUI interfaces (I am a

mathematician who writes
programs more as an avocation in order to explore various
probabilistic and combinatorial problems). I've turned

to VBA because
I can get functioning code quicker and because I find it

fun to create
animated charts to illustrate the algorithms. Even

though my programs
are for my own consumption, I have a perfectionistic

streak and want
them to have at least a semi-professional look and feel.

Towards this
end I have been gradually increasing my use of user

forms and event
handlers. Mostly I have been adding these *after* the

program is
functioning. As a result of this, my GUI elements seem

to have an
ad-hoc feel about them since they really are a pretty

thin layer over
the "real" code.

I am currently reading the book "Excel VBA -

Professional
Projects" by Duane Birnbaum and have been struck by the

way that he
tends to (after clearly specifying the project and

outlining the
solution) create user forms and custom tool bars

*before* writing the
bulk of the code. Steve Roman's book seems similar. So

my long-winded
question is: which seems to work better, starting with

an interface
and then gradually fleshing out the code behind it, or

coding the core
logic and then creating a graphical front end for it? Is

there some
sort of consensus amoung developers or is this just a

matter of taste?

Thank you for your time.

-John Coleman
.

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 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
Excel 2007 and refresh pivot table methodology Bernard New Users to Excel 0 November 19th 09 10:58 AM
Trending Methodology Jeff Excel Discussion (Misc queries) 1 August 17th 09 07:59 PM
Help with methodology Andy New Users to Excel 1 August 5th 08 06:02 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM


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

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

About Us

"It's about Microsoft Excel"