Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default This newsgroup is sometimes frightening

Greetings,

I was wondering if any one else is sometimes struck by the same thing:

Several times a week someone posts some flat-out bad code and/or asks
exceedingly basic questions. I have no problem with this. You have to
learn sometimes and asking questions is a good way to do so. What is
frightening is that you can sometimes infer that the code in question
is *important* to a company, and that potentially a lot of money is
riding on getting it right. I wonder how many companies have been
burned by buggy Excel programs written by people with little or no
programming background. In a sense VBA is too easy to write. With the
macro recorder and a bit of trial and error you can cobble together
something that seems to work (most of the time) without understanding
why it works or being able to anticipate when it might fail. No company
would dream of trusting C code written by a beginner, but many
apparantly trust equally unreliable VBA code.

Just a random thought.

-John Coleman

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default This newsgroup is sometimes frightening

Good point John, and a good observation about C code programs versus VBA.
My business would not accept a VB programme to be installed, but would let
users run VBA macros. I guess the difference is that most programs in VBA
are 'contained' within the Host (Excel) application and not a serious risk
or a network issue, and if it is, the problem is more than rogue VBA
programmers!

As for this newsgroup it should never be condemned for providing solutions,
guidance or help to any OP whatever the level of understanding. Until
companies take responsibility for good training and IS support, both often
sadly lacking in my experience, the problems will persist but not because of
this newsgroup!

--
Cheers
Nigel



"John Coleman" wrote in message
oups.com...
Greetings,

I was wondering if any one else is sometimes struck by the same thing:

Several times a week someone posts some flat-out bad code and/or asks
exceedingly basic questions. I have no problem with this. You have to
learn sometimes and asking questions is a good way to do so. What is
frightening is that you can sometimes infer that the code in question
is *important* to a company, and that potentially a lot of money is
riding on getting it right. I wonder how many companies have been
burned by buggy Excel programs written by people with little or no
programming background. In a sense VBA is too easy to write. With the
macro recorder and a bit of trial and error you can cobble together
something that seems to work (most of the time) without understanding
why it works or being able to anticipate when it might fail. No company
would dream of trusting C code written by a beginner, but many
apparantly trust equally unreliable VBA code.

Just a random thought.

-John Coleman



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default This newsgroup is sometimes frightening


Nigel wrote:
Good point John, and a good observation about C code programs versus VBA.
My business would not accept a VB programme to be installed, but would let
users run VBA macros. I guess the difference is that most programs in VBA
are 'contained' within the Host (Excel) application and not a serious risk
or a network issue, and if it is, the problem is more than rogue VBA
programmers!

As for this newsgroup it should never be condemned for providing solutions,
guidance or help to any OP whatever the level of understanding. Until
companies take responsibility for good training and IS support, both often
sadly lacking in my experience, the problems will persist but not because of
this newsgroup!

--
Cheers
Nigel



"John Coleman" wrote in message
oups.com...
Greetings,

I was wondering if any one else is sometimes struck by the same thing:

Several times a week someone posts some flat-out bad code and/or asks
exceedingly basic questions. I have no problem with this. You have to
learn sometimes and asking questions is a good way to do so. What is
frightening is that you can sometimes infer that the code in question
is *important* to a company, and that potentially a lot of money is
riding on getting it right. I wonder how many companies have been
burned by buggy Excel programs written by people with little or no
programming background. In a sense VBA is too easy to write. With the
macro recorder and a bit of trial and error you can cobble together
something that seems to work (most of the time) without understanding
why it works or being able to anticipate when it might fail. No company
would dream of trusting C code written by a beginner, but many
apparantly trust equally unreliable VBA code.

Just a random thought.

-John Coleman


Actually, I think there's a much bigger problem than poorly written
code. Poorly done spreadsheets themselves! I've seen all kinds of
erroneous formulas in spreadsheets, sometimes being used to determine
financial transactions. There are a lot of spreadsheets done by people
who don't even know the order of operations. And I NEVER see error
checking in the spreadsheets I work on. Everyone assumes if it's done
in Excel, it must be right. Very scary!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default This newsgroup is sometimes frightening

The point about an organization taking the responsiblity to make sure their
people are well versed at the position they were hired for is all to common.
Mentoring is the answer. This just doesn't get done. At least not in the
industry I work in.

I was given ownership of two Excel files with extensive VBA and both files
have some major issues. With only one semester of introductory VB 6 under my
belt, I know enough to be dangerous, not effective. I can't even get our
onsite EDS people to provide support on this one. They want to rework these
into applications that they create from $cratch.

Enough for now. . .

Hal

"Nigel" wrote:

<snip
Until companies take responsibility for good training and IS support, both often
sadly lacking in my experience, the problems will persist but not because of
this newsgroup!

--
Cheers
Nigel



"John Coleman" wrote in message
oups.com...
Greetings,

I was wondering if any one else is sometimes struck by the same thing:

Several times a week someone posts some flat-out bad code and/or asks
exceedingly basic questions. I have no problem with this. You have to
learn sometimes and asking questions is a good way to do so. What is
frightening is that you can sometimes infer that the code in question
is *important* to a company, and that potentially a lot of money is
riding on getting it right. I wonder how many companies have been
burned by buggy Excel programs written by people with little or no
programming background. In a sense VBA is too easy to write. With the
macro recorder and a bit of trial and error you can cobble together
something that seems to work (most of the time) without understanding
why it works or being able to anticipate when it might fail. No company
would dream of trusting C code written by a beginner, but many
apparantly trust equally unreliable VBA code.

Just a random thought.

-John Coleman




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default This newsgroup is sometimes frightening

John,

I largely agree with your points. But I would take issue with
your final assertion:

No company
would dream of trusting C code written by a beginner,


Many companies do in fact rely on C code written by beginners.
I've had to debug my share of it.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"John Coleman" wrote in message
oups.com...
Greetings,

I was wondering if any one else is sometimes struck by the same
thing:

Several times a week someone posts some flat-out bad code
and/or asks
exceedingly basic questions. I have no problem with this. You
have to
learn sometimes and asking questions is a good way to do so.
What is
frightening is that you can sometimes infer that the code in
question
is *important* to a company, and that potentially a lot of
money is
riding on getting it right. I wonder how many companies have
been
burned by buggy Excel programs written by people with little or
no
programming background. In a sense VBA is too easy to write.
With the
macro recorder and a bit of trial and error you can cobble
together
something that seems to work (most of the time) without
understanding
why it works or being able to anticipate when it might fail. No
company
would dream of trusting C code written by a beginner, but many
apparantly trust equally unreliable VBA code.

Just a random thought.

-John Coleman





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default This newsgroup is sometimes frightening

And I've seen very experienced programmers writing bad code and young
talents writing good code.

But yes, access to VBA is very easy, so you'll find all sorts of programmers
there.

Also, I'm always surprised that spreadsheets are often hardly tested. Most
financial companies have very strict rules for testing professionally
developed systems, but don't pay any attention to the correctness of
spreadsheets.


--
Kind regards,

Niek Otten

"Chip Pearson" wrote in message
...
John,

I largely agree with your points. But I would take issue with your final
assertion:

No company
would dream of trusting C code written by a beginner,


Many companies do in fact rely on C code written by beginners. I've had to
debug my share of it.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"John Coleman" wrote in message
oups.com...
Greetings,

I was wondering if any one else is sometimes struck by the same thing:

Several times a week someone posts some flat-out bad code and/or asks
exceedingly basic questions. I have no problem with this. You have to
learn sometimes and asking questions is a good way to do so. What is
frightening is that you can sometimes infer that the code in question
is *important* to a company, and that potentially a lot of money is
riding on getting it right. I wonder how many companies have been
burned by buggy Excel programs written by people with little or no
programming background. In a sense VBA is too easy to write. With the
macro recorder and a bit of trial and error you can cobble together
something that seems to work (most of the time) without understanding
why it works or being able to anticipate when it might fail. No company
would dream of trusting C code written by a beginner, but many
apparantly trust equally unreliable VBA code.

Just a random thought.

-John Coleman





  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default This newsgroup is sometimes frightening


It is a trade off. There is no substantially risk-free way of providin
software but VBA is about as risky as it gets.

Pointing out the risks of this to one FD his view was that spreadsheet
have only a shortlife after the person who created them has left. Whe
they did the next person would re-write them. The safty was in that th
author was actually operationally responsible for the numbers create
(as opposed to a programmer who wasn't) and this ensured "reasonabl
reliability".

But personally I find that the degrading of the high-standards is
real conceptual problem. Particularly when trying to evidence th
good-quality of work my work against some of the charlatans puttin
themselves forward as experts.

I remember one person coming for an interview as an excel "expert"
asked the question what "formula would you use to give the total of th
numbers in the cells A1 to A10". No answer was given to this or my othe
two "make them feel confortable" questions. I despair.

Think you hit one of my nerves with this thread - better stop before
rant

--
tony
-----------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...fo&userid=2107
View this thread: http://www.excelforum.com/showthread.php?threadid=49073

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default This newsgroup is sometimes frightening

I would have to disagree. I am one of these so called novices that use
VBA at my company. VBA should be encouraged. It has saved me and my
company countless hours. Sure I make errors in programming but I am
sure we all on occasion make errors on something we are working on.
This can not be avoided, we are humans. The benefits of using VBA
overwhelming outweigh not using it. I encourage all Excel users to pick
up as much VBA as possible.





tony h wrote:
It is a trade off. There is no substantially risk-free way of providing
software but VBA is about as risky as it gets.

Pointing out the risks of this to one FD his view was that spreadsheets
have only a shortlife after the person who created them has left. When
they did the next person would re-write them. The safty was in that the
author was actually operationally responsible for the numbers created
(as opposed to a programmer who wasn't) and this ensured "reasonable
reliability".

But personally I find that the degrading of the high-standards is a
real conceptual problem. Particularly when trying to evidence the
good-quality of work my work against some of the charlatans putting
themselves forward as experts.

I remember one person coming for an interview as an excel "expert" I
asked the question what "formula would you use to give the total of the
numbers in the cells A1 to A10". No answer was given to this or my other
two "make them feel confortable" questions. I despair.

Think you hit one of my nerves with this thread - better stop before I
rant!


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=490731


  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default This newsgroup is sometimes frightening

Yes, in the company I used to work for I've seen very encouraging examples.
But I insist on proper testing as stated in my previous post.
And that does not just mean apply the spreadsheet to a large number of
cases; it means testing all decision points, just as in professional testing
of IT-built systems.

IT departments should make their testing skills available to other
developers, instead of just trying to fight them.

--
Kind regards,

Niek Otten

"snax500" wrote in message
oups.com...
I would have to disagree. I am one of these so called novices that use
VBA at my company. VBA should be encouraged. It has saved me and my
company countless hours. Sure I make errors in programming but I am
sure we all on occasion make errors on something we are working on.
This can not be avoided, we are humans. The benefits of using VBA
overwhelming outweigh not using it. I encourage all Excel users to pick
up as much VBA as possible.





tony h wrote:
It is a trade off. There is no substantially risk-free way of providing
software but VBA is about as risky as it gets.

Pointing out the risks of this to one FD his view was that spreadsheets
have only a shortlife after the person who created them has left. When
they did the next person would re-write them. The safty was in that the
author was actually operationally responsible for the numbers created
(as opposed to a programmer who wasn't) and this ensured "reasonable
reliability".

But personally I find that the degrading of the high-standards is a
real conceptual problem. Particularly when trying to evidence the
good-quality of work my work against some of the charlatans putting
themselves forward as experts.

I remember one person coming for an interview as an excel "expert" I
asked the question what "formula would you use to give the total of the
numbers in the cells A1 to A10". No answer was given to this or my other
two "make them feel confortable" questions. I despair.

Think you hit one of my nerves with this thread - better stop before I
rant!


--
tony h
------------------------------------------------------------------------
tony h's Profile:
http://www.excelforum.com/member.php...o&userid=21074
View this thread:
http://www.excelforum.com/showthread...hreadid=490731




  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default This newsgroup is sometimes frightening

Also, I'm always surprised that spreadsheets are often hardly tested. Most
financial companies have very strict rules for testing professionally
developed systems, but don't pay any attention to the correctness of
spreadsheets.


Surely that can't be true :-)

http://www.eusprig.org/stories.htm

Regards,
Peter T




  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default This newsgroup is sometimes frightening


Peter T wrote:
Also, I'm always surprised that spreadsheets are often hardly tested. Most
financial companies have very strict rules for testing professionally
developed systems, but don't pay any attention to the correctness of
spreadsheets.


Surely that can't be true :-)

http://www.eusprig.org/stories.htm

Regards,
Peter T


Fascinating stuff! I've always known that this sort of thing must be
happening all over the place. Good to see it documented. Let's face it,
for most businesses, QA/QC is not even a consideration.

  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default This newsgroup is sometimes frightening


Peter T wrote:
Also, I'm always surprised that spreadsheets are often hardly tested. Most
financial companies have very strict rules for testing professionally
developed systems, but don't pay any attention to the correctness of
spreadsheets.


Surely that can't be true :-)

http://www.eusprig.org/stories.htm

Regards,
Peter T


Very interesting link, but traditional programmers shouldn't gloat.
None of the cases resulted in death, unlike the notorious case of the
therac-25 radiation therapy machine in the 80s or the patriot missle in
the Gulf War.

-John Coleman

  #13   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default This newsgroup is sometimes frightening


John Coleman wrote:
Peter T wrote:
Also, I'm always surprised that spreadsheets are often hardly tested. Most
financial companies have very strict rules for testing professionally
developed systems, but don't pay any attention to the correctness of
spreadsheets.


Surely that can't be true :-)

http://www.eusprig.org/stories.htm

Regards,
Peter T


Very interesting link, but traditional programmers shouldn't gloat.


Neat! I don't consider myself a "traditional programmer", so I guess I
can still gloat! BTW, what is a "traditional programmer"?

None of the cases resulted in death, unlike the notorious case of the
therac-25 radiation therapy machine in the 80s or the patriot missle in
the Gulf War.

-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
Newsgroup Notification Mary Fetsch Excel Discussion (Misc queries) 3 November 1st 07 09:51 PM
MAC newsgroup (at Microsoft) ShaneDevenshire Excel Discussion (Misc queries) 1 May 30th 07 06:00 AM
Best VBA newsgroup? R Avery[_2_] Excel Programming 3 March 29th 05 04:06 PM
Newsgroup Web interface Andrew Edwards Excel Worksheet Functions 2 November 30th 04 01:30 PM


All times are GMT +1. The time now is 07:13 PM.

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"