- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
A TDWTF article with a happy ending? There's TRWTF!
Admin
Admin
A TDWTF article without a 'frist' comment? There's TRWTF.
Admin
frist!!
Admin
Frist comments get conditional formatting in "white on white" without VBA
just wondering why he did not use a loop, looping over all cells. another WTF about Excel is, that the formulars are language specific, in german e.g. it is "=SUMME(A1:A3)", where in english it is "=SUM(A1:A3)"
Admin
Admin
Improving performance without explicit orders? What a moron!
Filed under: Business truisms
Admin
One of the biggest issues you find with Excel is people not knowing what built-in functionality there is. Looping through every row in a worksheet instead of using COUNTIF()/SUMIF() is a very common one.
I'm not complaining though - keeps me in a job.
Admin
For the non-XL-experts among us: anyone going to write how the code ought to be?
Admin
Private Sub Worksheet_Calculate() End Sub
That will be $200, thanks.
(I make a living from this sort of stuff too, so please keep doing it.)
Admin
Admin
TRWTF is that 95% of the article appears on the home page with only one concluding paragraph hidden.
Admin
Like sand through the hourglass these are the days of our lives
Admin
'frouth!!' would be more appropriate
Admin
Stay off my turf, buddy!
Admin
Dear DASH,
In case you can’t tell, this is a grown-up place. The fact that you insist on using modern, built-in Excel features clearly shows that you’re too young and too stupid to understand VB code-generation.
Go away and grow up.
Sincerely, Bert Glanstron
Admin
Admin
Please show a little sensitivity. I had an Irish girl once who was too young and too stupid to merge multiple memes, and wouldn't go away and grow up, and I can aasure you it was no laughing matter.
Admin
Admin
Yes but the boolean return from the XML stored in the Enterprise layer returned FILE_NOT_FOUND.
Admin
Admin
Admin
Reminds me of the only time I ever did any Cobol programming.
I used a loop. Boss took one look and said "nope we don't use those, do one step at a time".
Thankfully I was never again asked to do Cobol.
Admin
Using conditional formatting is different than the code presented. For example, if someone adds rows or columns conditional formatting will "move with" the old rows - the existing code would have formatted in the same cells.
Depending upon the spreadsheet (and protection) this may or may not be the correct behavior.
Admin
FTFY
Admin
Easy:
ls excel | rm
It's absolutely batshit crazy (as TFA hints) to use Excel for pretty much anything whose outcome you care about.
Admin
Admin
Depending how long ago it was Boss could have been right - code with commands listed one step at a time would run faster than something with a loop.
Admin
Why was the resume of a programmer who had left the company long ago being made available for any one to read?
Admin
I met an Irish Girl who was also the president's daughter. Sensing a dangerous and hopeless situation, I moved to Hyderabad.
Admin
There is a copy&paste bug in the block handling the D44 formatting. It changes formatting of D42 if the value of D44 is greater than 10.
Admin
Same with G44.
Admin
TRWTF is relying on developers for anything done exclusively in Excel. It was created to do that messy crap so that you didn't have to involve developers.
Admin
Unfortunately that is still not fool proof.
One Excelsheet we had about 3 years ago (excel 2010) contained a column of true/false values.
If you filled it in on an english excel it colors them correctly, but if you filled it in on a swedish machine the column still read true/false, but when you added rows you had to write Sant/Falskt, not True/False or the coloring did not work ;)
Luckily it was only a temporary list before we had a real system online to handle the information.
Admin
I'm going to go take a cold shower now.
Admin
Admin
s/=1<0/=0<1
(transcription error)
Admin
Admin
Admin
Not sure I be getting your point
Admin
[quote user="Jim"][/quote] find / -name *[Ee][Xx][Cc][Ee][Ll]* -exec rm -f [/quote]"Bill & Ted's Excellent Adventure" was a great movie, and now it's gone.
Bloody regex, that's the real WTF.
Admin
Man, how great it would be if we could make regex case insensitive!
Admin
Am I the only one who wanted to strangle someone over that first if statement?
Admin
Admin
That most certainly would not make him right.
Admin
Suggesting that larger organisations with IT resources don't rely on a clutter of VBA-ridden Excel spreadsheets masquerading as line-of-business software.
That's TRWTF.
And largely speaking, my job.
Admin
Side note, Excel is fucking awesome, and the only thing it lacks is the ability to punch you in the face if you're a fucking moron who writes code like this.
Seriously, the only time I've ever used VBA in Excel was when I needed to grab a page over HTTP with a URL containing a cell's value as a GET parameter. AFAIK you cannot do this with the built-in data features. You can grab HTTP pages (in fact, "import from text file" works just as well from a URL as it does from a file on your computer - albeit slower), but you can't use a cell as a URL parameter. You can do damn well near anything using formulas and conditional formatting. Handy, because those don't throw up the scary warning message that VBA does, if you haven't previously trusted either the workbook or the location where it's saved.
Admin
Now switch the language on your computer and see what the result is versus just typing in TRUE and FALSE.
Admin
Admin
So for these tests:
(English) =0>1 =0<1 =1>0 =1<0 TRUE FALSE
(Swedish) =0>1 =0<1 =1>0 =1<0 TRUE FALSE
Do you get the same results?