Click here to Skip to main content
15,887,683 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Clifford Nelson25-May-18 13:01
Clifford Nelson25-May-18 13:01 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
kmoorevs26-May-18 6:19
kmoorevs26-May-18 6:19 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Mycroft Holmes31-May-18 20:40
professionalMycroft Holmes31-May-18 20:40 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
PeejayAdams1-Jun-18 5:13
PeejayAdams1-Jun-18 5:13 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Clifford Nelson1-Jun-18 5:22
Clifford Nelson1-Jun-18 5:22 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
PeejayAdams1-Jun-18 6:01
PeejayAdams1-Jun-18 6:01 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Clifford Nelson1-Jun-18 16:41
Clifford Nelson1-Jun-18 16:41 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
David A. Gray25-Jun-18 10:58
David A. Gray25-Jun-18 10:58 
PeejayAdams wrote:
Visual Studio approach doesn't cater for the kind of power-user who used to chuck a bit of automation at their spreadsheets directly through Excel.


Having done some of both, I must concur that VSTO doesn't fully replace VBA. OTOH, there is relatively little that can't be accomplished fairly readily with VBA as it is today. Conversely, if security is an important consideration, as well it should be, a seasoned VBA programmer can work the same kinds of magic with VSTO, and it isn't really all that hard. Once you add a reference to the correct object model, IntelliSense helps immeasurably with the interactions with Excel, and the rest is plain old C# or VB.NET. More significantly, it's comparatively easier, IMO, to construct C# applications that talk
to two or more Office products.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: Don't Understand why I should move from Office 2007 Pin
Dr.Walt Fair, PE6-Oct-18 11:45
professionalDr.Walt Fair, PE6-Oct-18 11:45 
AnswerRe: Don't Understand why I should move from Office 2007 Pin
Clifford Nelson16-Oct-18 6:55
Clifford Nelson16-Oct-18 6:55 
GeneralRepurposing VarChar columns Pin
dbrenth23-May-18 2:42
dbrenth23-May-18 2:42 
GeneralRe: Repurposing VarChar columns Pin
Jörgen Andersson23-May-18 3:43
professionalJörgen Andersson23-May-18 3:43 
GeneralRe: Repurposing VarChar columns Pin
Richard Deeming23-May-18 4:19
mveRichard Deeming23-May-18 4:19 
GeneralRe: Repurposing VarChar columns Pin
Jörgen Andersson23-May-18 5:55
professionalJörgen Andersson23-May-18 5:55 
GeneralRe: Repurposing VarChar columns Pin
Eddy Vluggen25-May-18 1:32
professionalEddy Vluggen25-May-18 1:32 
GeneralRe: Repurposing VarChar columns Pin
Jörgen Andersson28-May-18 0:41
professionalJörgen Andersson28-May-18 0:41 
GeneralRe: Repurposing VarChar columns Pin
Eddy Vluggen28-May-18 0:48
professionalEddy Vluggen28-May-18 0:48 
GeneralRe: Repurposing VarChar columns Pin
Jörgen Andersson28-May-18 0:49
professionalJörgen Andersson28-May-18 0:49 
GeneralRe: Repurposing VarChar columns Pin
PeejayAdams23-May-18 5:35
PeejayAdams23-May-18 5:35 
GeneralRe: Repurposing VarChar columns Pin
GuyThiebaut24-May-18 21:10
professionalGuyThiebaut24-May-18 21:10 
GeneralRe: Repurposing VarChar columns Pin
David A. Gray25-Jun-18 11:05
David A. Gray25-Jun-18 11:05 
GeneralRe: Repurposing VarChar columns Pin
GuyThiebaut25-Jun-18 20:31
professionalGuyThiebaut25-Jun-18 20:31 
GeneralRe: Repurposing VarChar columns Pin
David A. Gray26-Jun-18 6:23
David A. Gray26-Jun-18 6:23 
Questionreassigning static variable Pin
Eytukan22-May-18 1:02
Eytukan22-May-18 1:02 
AnswerRe: reassigning static variable Pin
KarstenK22-May-18 1:11
mveKarstenK22-May-18 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.