Professional Excel Development 318
Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel and VBA | |
author | Stephen Bullen, Rob Bovey, John Green |
pages | 936 |
publisher | Addison-Wesley Professional |
rating | 10/10 |
reviewer | Raymond Lodato (rlodato AT yahoo DOT com) |
ISBN | 0321262506 |
summary | A remarkably detailed 'how-to' book on creating complete applications using Excel as a base. |
The authors, Stephen Bullen, Rob Bovey, and John Green, show a level of sophistication well beyond the norm. They'd rather teach you the proper way to program instead of teaching you how to use Excel. In fact, the first thing they do is distinguish five different levels of usage: Excel users, Excel power users, VBA developers, Excel developers, and professional Excel developers. The book is written for the highest level, so expect a lot of depth.
Rather than simply show how to record a macro and reuse it, they start by talking about coding practices, naming conventions and application structure. That's followed by an entire chapter on worksheet design, including names, styles, validation, formatting and controls. After a chapter on add-ins, they launch into the topic of dictator applications, that is, applications that completely take over the Excel interface and look like a regular, non-Excel program.
The following chapters go into much more detail about wringing every ounce of functionality from Excel, and then turning to the operating system and Visual Basic for more help. After discussing data manipulation with databases, they talk about using XLLs and the C API, VB.NET, and writing Help files to complete the application. The entire structure of the book builds around a time-entry application that is developed from a simple spreadsheet to a full-blown, production quality program. A CD-ROM is also included with all of the source code and multiple examples that are scattered throughout the book.
Reading Professional Excel Development is not something to be taken lightly. The authors have done a fine job putting together a cohesive methodology for using Excel as an application development platform. I know of no other book that covers this platform in such depth. At times I found myself lost in the details, but I suspect a "professional Excel developer" (which I am not) would be delighted in the depth of description and copious examples provided.
I tried to relate a lot of what Stephen, Rob, and John discussed to OpenOffice Calc, to see if it could be ported to an open source environment. I was surprised by how much actually came across. Granted, items in OpenOffice are sometimes in different places, or named differently, than their counterparts in Excel, but most of the same functionality is there. Unfortunately, most of the examples are written in VBA, which doesn't translate cleanly into OpenOffice. Still, with perseverance, you would probably be able to develop most of what is described in the book.
Professional Excel Development is an extremely well-written book that covers the use of Excel to a depth few authors have dared to tread. The text gives you the tools to build applications that are much more than automated spreadsheets. Almost any program your imagination can devise can be created using the techniques given, which is a testimony to the power of Excel. Bash Microsoft if you want, but they do sometimes come up with a winner, and Professional Excel Development allows you to take full advantage of its capabilities.
You can purchase Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel and VBA from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Professional Excel Development (Score:5, Funny)
you could do it, but why?
Re: Professional Excel Development (Score:3, Insightful)
Put another way, I don't do accounting in Python - why would I want to write applications in Excel? Spreadsheets are the right tool for quite a few jobs, but this isn't one of them.
Re: Professional Excel Development (Score:5, Insightful)
And I can think of lots of reasons to write applications in Excel. The best one being that you probably already have it on your machine (no need to purchase a development environment). Another good one being that probably most of your users will have the "platform" to run your application. What else? How about an insanely good function library, including some amazing graphing tools?
I try to stay away from MS in general, but you can do a lot worse than developing in Excel.
Re: Professional Excel Development (Score:2)
Eek! People purchase development environments?!
Only teasing, but I guess the point could be made that you already HAVE purchased one if you're using excel.
Re: Professional Excel Development (Score:3, Insightful)
Excel is a very good tool (unlike Access which has no redeeming qualities), but based on my experience, any time you try to develop an application on anything but a real application development system, your app will be difficult to create, difficult to debug and look like crap.
This includes Excel, Access, and as far as the looking like crap part, Java.
Re: Professional Excel Development (Score:3, Interesting)
Where I develop on Excel is at work, so yes everybody has excel. I mainly use excel for process automation type stuff on an application server actually - I can use perl and lots of other FOSS on my workstation, but getting approval to use it on a production server is another thing entirely.
The reason I use excel is because I can do just about anything I want (using a nice library of API function wrappers I've written) and it doesn't cost anything - they wo
Re: Professional Excel Development (Score:3, Interesting)
I can too, with PKZip.
You've got a point, but my boss has a Project Management System written in Access 2000 by a friend of his, and it is my opinion that it would be easier to rewrite the app with Visual C++ rather than make the changes and improvements we need. It would take a little longer up front, but save huge amounts of time in the long run. Of course, I'm far from an expert in Ac
This is a joke, right? (Score:2)
Excel is nice for quickly hacking something together, and I understand that at some point people will get the idea to do more complicated stuff with it, but that doesn't change that it isn't the right tool for anything that ever requires to be changed when working large-scale with data. I see you can use a lot of VB, and add a Form, but then there isn't really much of Excel left that you work with, except maybe the SUM
Re: Professional Excel Development (Score:5, Informative)
It became a development environment in version 1.0.
Can I use Excel to compile my C++, Java and C# apps?
It sounds as though you're confused about what software development really is.
None of the Lisp or Scheme dev systems I use are capable of compiling your C++, Java, and C# apps. Likewise for my copy of Mathematica. Or the IBM mainframe I started out with or my current favorite Python/IDE combo. It sounds as though you don't realize that software development is a lot broader, with a much wider diversity of styles and tools, than your limited experience has acquainted you with.
Excel is analogous to a scripting language in some ways, with easy scripting of powerful built-in functionality but certain semantics are represented visually instead of textually.
It is also a functional programming platform that those with experience in functional programming immediately recognize and know how to exploit to great advantage. This is not an accident. Early spreadsheet engine designers were more familiar with functional paradigms than are most "C++, Java, and C#" programmers these days, so today's newbie programmers often don't even recognize the nature of the platform they're looking at.
Excel is not a "platform". Excel is an application that you can control through Automation.
Sure, sure. And Oracle isn't a platform, is it? Or Mathematica, or Matlab, etc. They're just big applications that you control through automation.
Ah, I can tell you have limited development experience with _real_ applications that don't use Excel or Access as a "back-end".
Oh, the irony is rich....
Of course Excel is a platform, and an excellent one for certain types of work. I've used it for sophisticated and flexible financial modeling, nuclear effects data analysis, and genealogical data organization, among other things.
I do agree with you about the quality of the built-in functions, though. I think the poster you were responding to may not realize how poorly implemented some of those built in functions are, from a numerical methods perspective. I tend to write my own implementations, using Excel primitives, instead of using Excel's fancier functions (e.g., random num generation, internal rate of return, etc.), and there are times when I'll prototype in Excel but end up doing the production implementation partially in C. The same can be said for Python, though. It doesn't mean that Excel and Python aren't real platforms.
Re: Professional Excel Development (Score:2)
Don't think of it as a spreadsheet program. Think of it as a feature-rich set of APIs that are widely distributed... A runtime library, if you will.
Re: Professional Excel Development (Score:4, Insightful)
The client is willing to sign a cheque.
CC.
Re: Professional Excel Development (Score:5, Insightful)
The very fact that Excel is considered a desktop application allows departments to get away (not necessarily rightly so) with creating applications in Excel without having to go through as many approval channels.
The fact that Excel has an IDE that lets you do many of the things you can do in VB allows you to do sophisticated application programming that can slip under the nose of some bureaucrats.
I spent a couple of years doing Excel programming after doing "Enterprise" development. It paid the same as my previous work, and for my client, Excel was the platform of choice, simply because the development effort didn't require the involvement of the IT department and its associated red tape. Once I got accustomed to the fact that I could do anything that I could do in a normal development platform, I quickly got over the fact that I was doing Excel work. I used to snicker at the thought of doing Excel and Access work before. But business logic is business logic, so I guess it doesn't really matter what platform you're working on.
Obviously Excel isn't the programmer's first choice, but it is a capable platform. The business reasons for using Excel as a development platform may be misguided, but it doesn't mean you shouldn't use the same practices that you would use to write anything in any other dev platform. I would think that the goal of the reviewed book is to ensure that.
Re: Professional Excel Development (Score:2)
Have you found anything you can't do in VBA that you can in VB? Any limitation I've found I've got round by using the win32 API and/or creating my own objects to replicate whatever I find I need.
Re: Professional Excel Development (Score:2)
The main reasons being:
1. All there colleges/clients already have it.
2. Most applications involve applying arbitrary sets of data generated by clients to a model generated by us. By packaging our models in excel, users can simply copy/past there data into the input form and hit go.
3. All of our clients have there own data, and don't want anyone else but them to see it. So we can just
Re: Professional Excel Development (Score:2)
umm, it's an application not a development environment.
How many of us have been asked to fix an "application" only to find it's an Excel spreadsheet with page after page of uncommented macros and VBA behind it? arg.
"Excel" and "development" don't belong in the same sentence.
Re: Professional Excel Development (Score:2)
How about every time I try to use Excel it leads to the development of a blinding headache.
Re: Professional Excel Development (Score:4, Insightful)
Regards
Stephen Bullen
Re: Professional Excel Development (Score:3, Insightful)
What... can't hack it?
Let's put it this way. As an analyst (someone else here said that too), Excel is an indespensible part of my job. A lof of work I do is tedious and repititive. So, I write small macros to automate some of those tasks. The next thing I know, I've put a front-end on it and made an application out of it.
I can't re-write it in some other development system because:
1) I'm an analyst. And while I can program pretty well in
Re: Professional Excel Development (Score:5, Insightful)
Now, if they'd only let me use a Mac at work, instead of making me run Excel on this hideous OS...
Obligatory link to the god of Excel programming [plala.or.jp]...
Re: Professional Excel Development (Score:4, Insightful)
I'll give you that. You can do some cool stuff with Excel.
But why use it as essentially an application runtime when you could be using
If the advantage is supposed to be that it gives you a basis for storing data, my response would be that spreadsheets are not databases (as much as office workers like to pretend they are), and trusting production data to an XLS or CSV file is unwise.
The idea of developing "professional" application in Excel seems to me like ricing out a base model Civic and pretending it's a real race car. You can do it, and the Civic will go pretty fast, but why not get an actual sports car instead of putting a ton of time and effort into working around the limitations that come from starting with a family vehicle?
Years ago I worked at an internal corporate help desk, and I saw way too many people spending way too much time doing wack-ass shit in Excel when they could have used Access and done it all with a single SELECT statement.
This is even more extreme: developers tying themselves to what is not only a proprietary platform, but one that will almost certainly break their app as soon as MS releases the next version.
Re: Professional Excel Development (Score:2)
The problem there is Access is part of Office Pro, Excel comes with basic Office.
Excel as part of an overall app can be quite powerful. Data stored in some more stable backend, excel to do the caculations, output elsewhere.
Re: Professional Excel Development (Score:2)
Re: Professional Excel Development (Score:2)
Ah, I was not aware of that. In our environment, every desktop has the suite that includes Access.
Excel as part of an overall app can be quite powerful. Data stored in some more stable backend, excel to do the caculations, output elsewhere.
Right. That's what Excel is for - importing data and transforming it. It's not designed to be the source of data itself.
Part of my confusion about the premise for this book is (like
Re: Professional Excel Development (Score:2)
Last I checked, Excel was a spreadsheet, not an ETL tool. Excel is a great tool for data entry, because so many people know how to use it without retraining. You don't even need to use a vb form to get data.
All of the form crap is easily handled with VB.NET, which you can get for super cheap.
You neglect to consider that you have to send out installers to all the users of the appl
Re: Professional Excel Development (Score:3, Interesting)
This is only so true . . . this is also why I believe OpenOffice has the potential to really improve productivity in this area (drag 'n drop database creation integrated into the spreadsheet).
Re: Professional Excel Development (Score:2)
As a side, if you can do something in a normal programming language as opposed to excel in roughly the same amou
Re: Professional Excel Development (Score:3, Informative)
Yeah, God forbid you should bother to read all the way to the end of that sentence.
Excel is more portable than a Perl script in the sense that nobody (to a reasonable approximation of nobody) has Perl installed, or would know what to do with it if they had it. (Yes, I'm sure some way to generate freestanding, cross-platform Perl executables exists. I was about to tell flamers not to bother, but, come to think of it, I'd love to see a link.)
Professional Excel Development? (Score:5, Funny)
Re:Professional Excel Development? (Score:2)
Engaging in a given activity as a source of livelihood or as a career: a professional writer.
(dictionary.com)
Excel: n.
Something people use to run their business.
Development: n.
Determination of the best techniques for applying a new device or process to production of goods or services.
Since there will always be a new version of Office, there will always be development to do. And since so many people are stupid enough to pay for it, being a professional developing with it is a
Re:Professional Excel Development? (Score:3, Funny)
Something people use to run their business.'
You misspelt 'ruin'.
(No, I'm not bitter that I didn't get in first with the oxymoron comment.)
Re:Professional Excel Development? (Score:2)
That's my point. Not that it's a good idea - noone ever said anything of the kind.
limits (Score:2, Interesting)
Re:limits (Score:2, Informative)
Re:limits (Score:3, Insightful)
Re:limits (Score:2)
Excel is not a DB (Score:3, Insightful)
If you do need to perform calculations on a dataset this large then either use a true database for storage and do the calculating in the client code or get a specialist tool like Matlab that can be used for numeric analysis.
Experience helps too (Score:4, Interesting)
Knowing how the technology works is one thing, but knowing how to set up your tables and the data they contain is key. Depending on your use of the spreadsheet, and what you hope to get out of it, there are different ways you can organize worksheets/data.
excel?! (Score:2, Insightful)
if you think something will grow beyond a triviality a database is a much better idea
Programming? (Score:4, Funny)
My daddy also called "spreadsheet programming" "math" and did it in his head or with a slide rule.
Re:Programming? (Score:2, Insightful)
This better be for Office 2003 (Score:4, Informative)
Note: this could all change in Office 2003.
Re:This better be for Office 2003 (Score:3, Insightful)
My advice is not to build any huge applications in Pffice, as sooner or later your versions won't be up-to-date, and porting this kind of thing between different versions of Office has been a huge and messy exercise in the past, and there is no guarantee it won't be in the future. There is a place for large amounts of code, and it is not tied to Office-type calculations. It should be in libraries which c
Re:This better be for Office 2003 (Score:2)
I can't imagine wanting to develop a huge application in Office. I've been modifying one that was built before I got here for the last three months, and it's been.......... frustrating. I've started spending too much time on Slashdot.....
Anyways. Office is a decent tool to a point, and after that it drops off sharply.
Re:This better be for Office 2003 (Score:2)
Amateur Access Development (Score:2, Funny)
Damn that Olympic committee!
Re:Amateur Access Development (Score:2, Funny)
God help us (Score:4, Informative)
Re:God help us (Score:2)
in an
Re:God help us (Score:2)
And guess who has to fix it when they screw up?
Hmmm... (Score:3, Insightful)
I would think you'd be happy at seeing someone try to help these people build manageable Excel models and simple Excel apps. Let's face it:
1) They will
Re:Hmmm... (Score:3, Informative)
Last month I worked on a solution that automated the production of analysis spreadsheets that had previously taken 1 person 20+ hours a week to enter data into. We're talking monsters that have 30000+ formulas in them, you have no choice but to turn automatic recalculation off. They're now done automatically and waiting for them when the users come in now.
What did the customer do? Grin from ear to ear, and start building more spreadsheets that will need to be
all hail the ignorant masses! (Score:4, Insightful)
"Professional Excel Development? Isn't that an oxymoron?"
"Professional Excel Development is like painting a house with tomatoe paste"
The entire financial sector bases its existance on Excel. Brokers, bankers, and virtually every banking or stock related position has a deep dependance on Excel. Laugh all you like at the thought of a professional excel developer, but I highly doubt that these firms will simply drop Excel in favour of some smelly nerds coding in C#.
Re:all hail the ignorant masses! (Score:3, Insightful)
Umm no. The financial sector uses mainframes, minicomputers, serious database applications... and in many cases even the clients are on OS/2. You may see excel on the desktop of some mid-level folks in the sector, but claiming that 'the entire financial sector bases it's existance[sic] on Excel' is ludicrous in the extreme.
The stereotype/gratuitous insult about 'smelly nerds' just adds confirmation - you haven't a clue what you're talking about.
Re:all hail the ignorant masses! (Score:3, Informative)
bFinance house:
Back office: Provide accounting and valuation methods. Typically work off a c-tree database system. Little reason to reinvent the wheel in this role, the scope of back office has been covered by 20 years+ by existing systems.
Middle office: Provide performance and risk analysis. This may be abstract benchmarking to defined verification of back office. Work tends to be more 'ad-hoc' than back office, may use a variety of systems, often likely to include linking t
Re:all hail the ignorant masses! (Score:2, Informative)
I whole-heartedly agree that excel is used a lot when it comes to sharing data amongst colleagues or when providing reports.
But the serious number crunching, the real work and administration is done mostly with Mainframes and Oracle databases, which are accessed by Delphi, J2EE, and proprietary C++ apps.
Not that my experiences invalidate your assertion. I just figured I woul
Papa? (Score:3, Funny)
fine and well, but... (Score:2)
I'm happy for the authors and the glowing review of their work, but I continue to wonder that "production" apps be written with that tool (but then, I wonder about VB apps, too). Amazing apps can be written using Excel (I know, I've written some, but only for me) but I think there is a danger in granting spreadsheets the imprimatur of "production". Not because Excel isn't up to the task but more because of the casual treatment of the world of spreadsheets in IT. I don't believe I've ever seen project man
Re:fine and well, but... (Score:2)
where an MS Abcess database published
Files were returned to an "inbox" folder on the network, and periodically merged to the
The
Of course, even such a dert simple tool still can have problems; this one was perceived as PHB-ware, and I haven't heard whether or not it ever a
I know where they use excel (Score:4, Insightful)
Sure, *use* it (Score:2)
Re:I know where they use excel (Score:2)
Just because a certain tool is used in "The Real World(TM)" a certain way doesn't necessarily mean that it is the best tool for the job.
but what I really want (Score:3, Interesting)
Re:but what I really want (Score:2)
Well, Gnumeric [gnumeric.org] could be possibly ported to Cocoa in Mac OS X because the core portions of Gnumeric are written in C. However, since Gnumeric is a GTK application, it may take some time moving all of the graphical-related stuff to Cocoa.
As for a Java spreadsheet, I haven't seen a FOSS Java spreadsheet, but it is very possible. Maybe somebody could look at the sources for Gnumeric [gnumeric.org] and OpenOffice [openoffice.org] or xspread as some inspiration
(While they're at it, perhaps a spreadsheet could be written in GNUstep; I'd like
Yes people develop excel, no not with VBA (Score:3, Interesting)
I know, I am doing it now.
It doesn't use macros, or VBA. You can write clean OO code.
Excel - geeky clever stuff (Score:2, Interesting)
Each cell represents a pixel.
Productivity with VBA(R) scripting (Score:2, Insightful)
With some Excel(R) scripting, you can create sophisticated applications that really boost your productivity.
Here are some programs I use daily:
Baler... (Score:2)
It's called Baler and basically took a Lotus 1-2-3 spreadsheet (with macros) and compiled it into a self executing exe. (Yes it was that many years ago that 1-2-3 was the dominant s/sheet under DOS
So I did a quick google and found there is a visual baler. Check out
http://the-ciba.com/vbaler/vbaler.html [the-ciba.com]
Knock yourself out, if
Kind of reminds me... (Score:2, Funny)
He picked the wrong title (Score:5, Insightful)
It gets real tiring listening to all the folks that couldn't say a nice word about a MS product if you paid them. Guess what folks... there are millions and millions of people that use Excel in very sophisticated ways. Why? Because it works well enough. With the help of this book, maybe it will work even better.
There are many ways to skin a cat. You haven't got a lock on God's One True Programming Language.
Re:He picked the wrong title (Score:2)
MS would like to tho. And if you use their products, your data and 'programs' are pretty much locked into MS. Single vendor is always and continues to be a bad idea.
Actually, yes, it's good (Score:2)
however, consider how widespread Excel really is and you will see more people doing more, which in turn requires more administration and infrastructure
mostly it's good because there's a blind barrage of dummies books, but so few deeper ones that hit the mark
Beside it locking you in to a single vendor, (Score:2)
Cheaper at Amazon (Score:3, Informative)
Excel is a great "Swiss Army Knife" (Score:3, Interesting)
Case in point - I served as a Mormon missionary for two years in South America. Five months of that was in the mission office making sure things ran smoothly (running logistics, renting apartments, materials, mail, etc.). The mission consisted of roughly 200 people.
It didn't take long for me to realize that our office of four people was overstaffed and that two of us could be replaced if we used our technology resources more efficiently. Due to the widely different conditions missions around the world operate in (it's impossible to run 300+ units in more than 100 countries the same way), the church does not provide much in the way of standardized software - missions are left on their own.
I was charged with creating programs to track inventory and missionary statistics (baptisms, contacts, etc.). I COULD have written the whole thing in C or C++ (only languages I knew at the time), but I opted for Excel and Visual Basic for Applications because I knew that it was very unlikely that there would be a steady stream of missionaries in years to come that could code in C or modify things if necessary. But, I was able to teach myself enough VBA in 24 hours to create programs that could do everything I wanted them to do, and they're still used today. They also turned out to be flexible enough to be used elsewhere - I hear that four other missions are using variants of the software I created almost 3 years ago. In the end, our office staff was cut down to two, and even those without great technical knowledge can be used to fill the jobs.
Excel really is like a Swiss Army Knife - not really the best at anything, but versatile and easy enough for anybody to use.
Programming is too hard... (Score:4, Insightful)
But (Score:2)
But when figuring out how much material is needed, it works nice. I take the sign size and add 6" to each side(for large signs) and that gives me a nice rough square fo
Excel's relevance to the real world. (Score:2, Interesting)
Where I work we have a team of ten people working with Excel directly supporting about double that number of traders (more than that if you look at our strategic projects). Every other software development group in our firm has more developers than traders paying for developers. We use Excel because it provides a UI that is unrivaled (and because of its rather good - but still not quite good enough for us - recalc engine). We're not id
The facts of life (Score:3, Informative)
Lots of the comments here have been about whether or not it is 'right' to develop applications based around Excel. As one of the authors of this book, I think that misses the point. The simple fact is that in the real world, there are lots of people who do develop such applications and really need to know some techniques that can make their programs much more robust, maintainable, etc.
When teaching our children about the facts of life, we can lecture them about abstinence, let them know about lifestyle choices that might or might not be relevant, or we can teach them how to be prepared (physically and emotionally), safe, considerate and responsible. The latter is the attitude we've taken towards Excel development, while also teaching some advanced techniques that might help their activities.
FWIW, more information about the book and a few sample chapters are available from my web site at http://www.oaltd.co.uk/ProExcelDev [oaltd.co.uk].
Re:Is excel really for development? (Score:2)
Yes, they do. They start as newbies, then they begin to grow up...
Re:Is excel really for development? (Score:2, Interesting)
Re:Is excel really for development? (Score:2)
Nothing like a difficult day when trying to build an analysis of an option chain, realising its necessary to use the Bloomberg API, and spending hours figuring out what bulk data spec to use with repeated calls to the helpdesk. C or VBA makes little difference ther
Re:Is excel really for development? (Score:3, Informative)
Re:Uh, yeah.. (Score:2)
Re:Uh, yeah.. (Score:5, Insightful)
A well-conceived Excel file can carry with it everything you need for a pretty elaborate bunch of data crunching and presentation, and that can hop from machine to machine very easily. Sales people in the field working up quotes, or managers chewing on inventory info before making a buying decision at a meeting - certainly they could just "use" a spreadsheet to do all of that, but having a purpose-specific UI sitting on top of it (without having to drag around other runtimes, etc) can really help when you're dealing with non-power-users.
"Professional level" can also refer to presentation sensibilities. For example, wise use of font families and graphs can make the tool's output more useful in a wider variety of settings. A pro knows how to wrap it all up in a smooth package, even if some of the logic is very simple. But a huge, complex, what-if business plan package friendly to investor-type users... that's a very cool type of app, with Excel running under the hood.
Re:Uh, yeah.. (Score:2)
Re:Uh, yeah.. (Score:5, Interesting)
excel separates geeks from non-geeks (Score:3, Insightful)
The mechanical engineers where I work for starters. Drives me nuts the ridiculous things they do with Excel when they should be using a programming language or something like Matlab..
You see, because they don't know any better, they assume that there aren't any better ways of doing ANY calculation or programming task other than writing an excel macro. And so they create all kinds of mind-numbingly complicated spreadsheets doing th
Re:Uh, yeah.. (Score:2)
If what you're saying is true, you shouldn't be able to write professional level applications using Visual Basic either. You can do almost as much in Excel as you can in Visual Basic. The main difference is that one program results in an
That of course, is not to say that Excel should be your platform of choice, but if that's what your client wants or needs, th
Re:Programming (Score:4, Insightful)
Malarkey. I started programming in Tandy BASIC in the early 1980's, and it didn't instill in me any bad habits that I was unable to shake once I moved on to Pascal, C, C++, Perl, Java, etc. "GOTO Considered Harmful"? In modern high level languages, yes, we have more elegant syntaxes for branching. But in assembly, what is a JMP instruction anyway but a GOTO?
Visual Basic, I have no experience with and do not wish to gain any.
Re:Programming (Score:2)
Which is fine if you want to program in assembler. The elegant syntaxes in high level languages are there for a reason - to help make code easier to maintain and develop.
Re:Programming (Score:2)
Tell me, what language did YOU start with? Did you spring fully formed from your father's head, clutching a disk full of flawless C code?
Re:Programming (Score:2)
Earning above median pay for a while now, and I started with BASIC. I be
Re:Programming (Score:2)
FORTRAN? Surely a typo - you meant to write 'a mixture of Lisp, Algol, and assembler depending on what I'd been thinking about with John McCarthy and Marvin Minsky that week'?
Re:Programming (Score:2)
I have no great love for VB, but I used it this week. I wrote a stock management system, from scratch, in about 20 hours.
(MySQL backend). Its currently running the warehouses of a multinational company (after the sudden failure of a legacy system).
VB is rubbish for games, heavy maths, or just about anything else that requires speed or small code, however it IS almost untouchable for RAD [wikipedia.org].
When time is ticking, I use it like an elastoplast - Fix the problem right now, make it ele
Re:SQL? (Score:2)
Portability. Not everyone has access to a web server, even running locally. Just about everyone in the business world knows, loves, and uses Excel. So it's a natural fit.
Re:SQL? (Score:2)
Sorry I wasn't clearer. I meant you can easily e-mail the file to another user, or share it on a network, and have it work on any other machine that can run Excel, without having to do an install or other work.
Re:SQL? (Score:2)
Re:SQL? (Score:5, Interesting)
1) You have the following data sources: Oracle, Access, CSV Files, Microsoft SQL, and IBM DBase
2) You need to generate a set of reports for a management group (more than three PHB's involved)
3) One of these PHB's is the one who approves your paychecks
4) You have at your disposal the following tools:A full development environment with IDE for C++, 5) Visual Basic, Java, and (X)HTML, Microsoft Office Pro XP
5) The report has to be viewable by anyone at the company, all systems will have Office installed
6) The workstations are locked down, and installing is not an option on the user end
7) Some data will need to be gathered from other departments to complete the reports
8) The reports must be in a form that can be put into a Powerpoint, because the PHB says so
9) It is not 6:30 a.m. ***The meeting starts at 10:00 a.m.*** THIS MUST BE DONE IN TIME!
What tool and approach would you use?
I don't know about you, but I find that pumping data into Excel from Access using a bunch of linked tables and queries and doing the calculations and presentation in Excel to be a rapid way to keep receiving my paycheck. As much as I would love to have time to develop fully tested, object oriented, language of the day applications, I rarely have that option. Once I do develop something, it will change tomorrow. I am a data analyst. My job is not to build applications, it is to crunch numbers as rapidly as possible, analyze them, and explain in plain English what those numbers mean (sometimes in PHB English).
I am going to use the tools that help me accomplish my job most effectively. Given the constraints, none of the programming languages to date allow me to do the analysis as rapidly as Excel. And yes, I do write Excel code, macros, and complex formulas. I also reuse the same ones again and again. They are objects in my environment.
So if you have the time to leisurely tell your PHB that sure, the report he needs in three hours will take you six months to develop a solution for, we can certainly trade jobs!
Re:What the hell is going on today? (Score:2)
Re:Not worth the trouble (Score:2)
Whether or not it's worth the trouble depends largely on what you're trying to do. While your particular application worked better with SQL and ASP.NET, there are others that work better with Excel. Just like there are some applications where Java or C++ is a better choice than SQL and ASP.NET. Don't make the mistake of assuming that your problem domain is the same as everyone elses.
I've seen several applications where Exce