Excel 2007 is a BOB system (Bag'O'Bugs)
- shared VBA modules in an XLA file
- database read/write using ADO
- array-manipulation for ranges of cells (see this post)
- lots of macro (VBA) logic to control look/feel of the tabs
- code to automatically insert formulae into cells
Obtuse Errors that Don't Break in Excel 2003: One of the big, complicated macros does a lot of formatting, so tables of data look nice when printed out. And yes, I freely admit that some chunks of my code are derived from recorded macros, and not 100% hand-crafted goodness. So, when a certain set of circumstances are in place, I get the Run-Time Error 1004: Unable to Set the LineStyle Property of the Border Class error message. A Google search turned up this little item, calling out a known bug in Excel 2002. The macro recorder generates something like this:
- With Range(Cells(iRow, iDataStartCol), Cells(iRow, iDataStopCol))
.Borders(xlEdgeBottom).LineStyle = xlLineStyleNone
End With
- With Range(Cells(iRow, iDataStartCol), Cells(iRow, iDataStopCol))
.Borders.Item(xlEdgeBottom).LineStyle = xlLineStyleNone
End With
Taking Features Away: I can be a stickler for sharp-looking presentations, and I've written about one of my favorite PowerPoint best practices - creating complex pictures or tables using a separate application like Excel or Visio, and then pasting into the PPT as a metafile. Unfortunately, Excel 2007 has broken this handy feature - by inexplicably making it unbelievably difficult to copy to the clipboard, and then ruining the metafile that gets pasted. It's not PowerPoint 2007's fault - the metafiles I cut and paste using Visio still work perfectly!
The Pause that Refreshes ... Something: When loading a file from shared folder, extra stuff happens that I can't explain
- Lower left on the status bar - message saying Contacting \\my.domain.server for information. Press ESC to Cancel appears, and we wait a bit ...
- Then, a message appears lower right on status bar - Opening filename.xls - with a nice little progress bar.
- When I save the file, a dialog pops up - Saving filename.xls - with a nice little progress bar. (Why the marked difference between Load and Save status indicators?)
The Pause that Annoys: This last one is the most frustrating (and disturbing!) for me. Among heavy Excel users, I've seen 50/50 split - some hate the ribbon, some are ambivalent - but all long time users love their keyboard shortcuts - especially the oldsters among us that remember Lotus 123 and Quattro Pro (first with tabs - rah!). For ages, Microsoft has supported the "/ menu" - a throwback to 123, and a boon to those speed demons who would eschew the rodent. For years now, I've deleted rows using /edr[enter]. I can slow that down a bit for clarity ...
- Edit (menu)
- Delete (menu option)
- Entire row (radio button on a dialog)
- (Enter key makes the row disappear)
No idea how to get to root cause on these issues, and I'm certainly not blaming Excel for the latest Wall Street problems. Still, folks need to be mindful of very subtle differences in this "new" tool.
Previously ...
- Bug bad, bug good, bug Bug (May 18, 2005)
- Excel vs. RDBMS: Choosing the Technology, Winning the Arguments (March 11, 2007)
- Five Under-Emphasized PowerPoint Best Practices (May 7, 2007)
- Desperately Needed Features for eMail Clients/Servers (April 20, 2008)
- Does Excel 2007 VBA have Sneaky Hidden Issues? (August 25, 2008)
Technorati Tags: development, hands on, presentations, technology,
Labels: development, excel, hands on, powerpoint, presentations, technology