Prevent Users Ctrl Break (ing) Your VBA Code During Execution

Anytime I write VBA code that runs for more than a split second, one of my worries remains that someone will ctrl + break it. You see, I am a very strong supporter of P.E.T.A. (People for Ethical Treatment of Algorithms) and believe that any code, no matter how long it takes (or in my case how badly written it is), must be allowed the dignity to complete. And for those who believe in killing ...

Continue Reading

Prevent Users Ctrl Break (ing) Your VBA Code During Execution

Multiple Scale Chart – Adding Customized Scale to Each Category in a Chart

Posted on 03 February 2010

Multiple Scale Chart - Adding Customized Scale to Each Category in a Chart
So how do you fit multiple scales on a single excel chart? No, we are not referring about the primary and secondary scales on an Excel chart here, we are talking about adding a customized scale for each category in the chart. Take for example the receipts portion of the U.S. federal budget - a data set with multiple categories such as individual income, social security, excise, estate and other taxes & duties. ...
Continue Reading

Comments (9)

The Content Aggregator Called Excel

Posted on 31 January 2010

The Content Aggregator Called Excel
So you have been toiling away on a spreadsheet that must reach the CEO's desk before the end of the day. Your boss has been after your life to get this done as fast as possible with his frantic phone calls and a rather sharp pitchfork that he uses on special occasions like these. A gazillion formulas, allocations and calculations later, with your body screaming for some coffee, you allow yourself a break. As you return to your desk with ...
Continue Reading

Comments (4)

Table Formula in Excel (Something I didn’t Know Till Yesterday)

Posted on 28 January 2010

Table Formula in Excel (Something I didn't Know Till Yesterday)
Table formulas were something that I discovered recently. Actually our reader m-b commented that he prefers to convert a range to a table and then employ table formulas instead of named ranges. That got me curious enough to explore them further and here's what I learnt. A Table in Excel A table is a feature in Excel that makes it easier to format and analyze a set of data points in a spreadsheet. Tables were introduced in Excel 2007 as an ...
Continue Reading

Comments (16)

Multithreaded VBA – An Approach To Processing Using VBScript

Posted on 25 January 2010

Multithreaded VBA - An Approach To Processing Using VBScript
Today's guest post is authored by Daniel Ferry, a longtime professional Excel developer and consultant (and a newbie blogger). A few months ago, I wrote a post on how one can simulate multithreading in VBA using Excel. Daniel picked up a thread from there and commented that he had some good success in marshalling some of windows multithreaded subsystems from within VBA. In this article he describes his approach. Multithreading VBA - Using VBScript Try as we might to work around ...
Continue Reading

Comments (10)

Named Range – A Few Quickies

Posted on 21 January 2010

Named Range - A Few Quickies
Named Ranges are probably one of the most useful features in Excel. Named ranges can add interactivity, make long formulas shorter and and if used properly, generally provide a clean mechanism to share information across the workbook. I remember being mighty impressed with Peter Rakos 3D rotation model last year and spent a good amount of time trying to understand it. The VBA code is only a few lines with the major work being taken up by the ...
Continue Reading

Comments (11)

So How Many Of These Excel Shortcuts Do You Know, Punk ?

Posted on 19 January 2010

So How Many Of These Excel Shortcuts Do You Know, Punk ?
So you thought you knew every goddam' Excel shortcut out there? Thought that you were the quickest draw around the office block. Not so fast sunny boy ... not so fast ! You've just ventured into the mean and vicious badlands of the Bison. You have two choices - stop reading this here ... ... OR ... stay back and take up the challenge .... So before I have your ego blown off, I will give you 7 chances to salvage it. Excel Shortcut ...
Continue Reading

Comments (12)

Volatility Chart in Excel – Lessons in Chart Design From NY Times

Posted on 12 January 2010

Volatility Chart in Excel - Lessons in Chart Design From NY Times
Here's a slightly dated chart from NY Times showing volatility on the Wall St across the century. The chart does commendable work in conveying information about a longish time series pretty effectively. I found some great chart design principles at work here that I could utilize for day to day charting needs. (Click on image to open larger version. Click here for the original version) Here's a look at a few of those ...
Continue Reading

Comments (12)

An Excel Chart’s Journey Across Versions

Posted on 10 January 2010

An Excel Chart's Journey Across Versions
Sometime back I wrote a post on making control charts using Excel. The chart was initially created in Excel 2003. The chart consisted of the plot values, the average line and upper & lower control limits. While the main data series was a line chart, the average, upper and lower control limits were plotted as dots of an X-Y and then were extended into lines using the horizontal error bars. Shown below is a sample. ...
Continue Reading

Comments (2)

A Big Thank You

Posted on 08 January 2010

A Big Thank You
Its been one and a half year since I started this blog. For the first few months, I thought I was writing only to myself (I still sometimes do when I don't get too many comments for a couple of days at a stretch). But, things have been great lately. The blog now receives a respectable number of visits a day and while that is good in itself, the better part is that ...
Continue Reading

Comments (12)

Square Bubble Heatmap Chart

Posted on 06 January 2010

Square Bubble Heatmap Chart
A what!!! A Square Bubble Heatmap Chart !!! What has the Bison been eating lately. Frankly .. I don't really have a name for this chart. It is a bubble chart. The bubbles are square. And it's a heatmap. So I'll call it a Square Bubble Heatmap Chart or better still, S.B.H.C. for short 8-) . The Basic Data Set For the Bubble Chart Now let us assume for a moment that ...
Continue Reading

Comments (9)

VBA IF Function – Using IF, ELSE:, ELSEIF, IF THEN in VBA code

Posted on 01 January 2010

VBA IF Function - Using IF, ELSE:, ELSEIF, IF THEN in VBA code
The IF function in VBA is one of the most frequently used of all statements. The IF function checks if the specified condition is being met or not. The IF function in VBA works in a slightly different manner from how it works in Excel. In Excel, the IF function does two things : It checks whether the given condition evaluates to TRUE or FALSE and then returns a value to use based on the evaluation i.e IF(condition, return_value_if_condition_true, ...
Continue Reading

Comments (2)

Treemap Add-In For Excel – Treemap Software Demo

Posted on 29 December 2009

Treemap Add-In For Excel - Treemap Software Demo
Treemaps are an interesting way to look at data. Here is the first preview of the treemap add-in for excel. Being a demo, the number of data points are limited to 250. Also, to keep things simple, the demo is being made available as a standalone excel workbook. Usage Download the excel workbook given at the end of the post. The demo will work only with Excel 2003 although the complete add-in has been tested to work with Excel 2003 upto ...
Continue Reading

Comments (6)

Data Validation List in Excel – Create Drop Down List Using Data Validation in Excel

Posted on 25 December 2009

Data Validation List in Excel - Create Drop Down List Using Data Validation in Excel
Data Validation feature in Excel allows the user to create a drop down list in Excel. The drop down list created using data validation allows the user to pick and choose a single value from the entire list and thus prevents entry of invalid values. The drop down list can be created by typing in a set of values, using a range of cells or by writing a formula in the data validation option box. Create a Drop Down List ...
Continue Reading

Comments (4)

Data Validation in Excel – How to Use Data Validation Feature in Excel

Posted on 24 December 2009

Data Validation in Excel - How to Use Data Validation Feature in Excel
Data Validation feature in Excel prevents invalid entries from being entered into a cell in a sheet. Data validation can be set up to work with numbers, text string, date / time or customized formula so that we can restrict the set of values that can be entered in a cell and also prevent wrong entries being made at the time of data entry. Data validation can also be used to create drop down lists so that the user ...
Continue Reading

Comments (1)



Translate

Chinese (Simplified)DutchEnglishFilipinoFrenchGermanHebrewHindiItalianJapanesePortugueseRussianSpanish

treeemap software for excel