Writing Excel User Defined Functions in VBA – part #2 – time stamping,...
Hi Folks, there are many available built-in spreadsheet functions in Excel. Ocasionaly one might need to write a special custom function. This second short tutorial is an introduction to that....
View ArticleA Virtual Joystick – How Can You Make That ? – tutorial
Hello everybody, this is a tutorial in which a virtual Excel joystick controlled by mouse movements on a scatter chart has been demonstrated . While in operation, a macro updates the coordinates of...
View ArticleA Family of Speedometers in Excel
Hi guys, by popular demand, this is a file containing five different animated speedometers and a tachometer (rpm-meter). I can recognize two models: a Toyota Camry and a Ford Crown Victoria. They work...
View ArticleCreating a Speedometer in Excel, Part #1 – tutorial
This is the first half of a tutorial which shows how to create a speedometer in Excel. The model is essentially a 2D scatter chart having as background the picture of a speedometer dial downloaded...
View ArticleCreating a Speedometer in Excel, Part #2 – tutorial
The previous tutorial (first half) explained how to download a speedometer picture from www.flickr.com and how to alter it (delete the needle) using a freeware called Gimp (similar to Photoshop). -...
View ArticleEasy Zoom – Chart Axis Scaling Using VBA
In certain models we need to be able to change the scale of the chart axes function of the result of a simulation. Excel charts do have auto-scaling as a default option but sometimes the scaling...
View ArticleCreating, Sizing, Translating and Rotating 2D Shapes in Excel 2007
Most of the models on this blog are designed for Excel 2003 or earlier versions. Sometimes however, Excel 2007 or 2010 are the only versions available even though they might be far slower when running...
View ArticleHow to make a game of PONG in Excel – part #1
This post contains the first part of a series of tutorials demonstrating how to build a lively game of Pong in Excel. The section deals with the bat movement VBA macro, and plotting the “court” or...
View ArticleHow to make a game of PONG in Excel – part #2
In this section two bats are created (the opponent’s bat and the player’s bat). The player’s bat movements are controlled by the vertical mouse movement. The geometry of movement, placement and...
View ArticleHow to make a game of PONG in Excel – part #3
In this tutorial (which is a continuation of part#2) the kinematics of the ball starts being implemented. Two new macros are being introduced, the “Serve” macro and the “Play” macro.
View ArticleHow to make a game of PONG in Excel – part #4
In this part of the tutorial the analysis of the ball movement is taken farther, to include such effects as bouncing off the walls of the court and collision with the bats.
View ArticleHow to make a game of PONG in Excel – part #5
In this part of the tutorial, the analysis of the ball movement is continued. The effects of the collision events are introduced in the equations of movement.
View ArticleHow to make a game of PONG in Excel – part #6
In the previous section a special ball return formula was implemented. Bat #1 was assigned the y-coordinate of the ball and in this way a very simple opponent algorithm was implemented. The problem...
View ArticlePlaying Sounds in Excel Using VBA – part #2
This section explains how to create a compound sound effect from elementary sounds. In the first example (two macros), the sound is played in a loop which is a native internal loop within the...
View ArticleHow to make a game of PONG in Excel – part #8
This section explains how to add score board logic on the worksheet and how to display the score on the court chart using sprites.
View ArticleHow to Model a Phase-Locked Loop (PLL) in Excel – part#3
This is a continuation of the PLL series of tutorials and it takes the recursive numerical formulas derived in the previous section, implementing a dynamic spreadsheet model with help from a...
View ArticleA 2D Animated Excel Roller Coaster – video preview
This is a video preview for the 3D animated roller coaster previously presented on this blog. A tutorial on this topic will be posted later.
View ArticleA Game of Tetris in Excel – video preview
This is a video preview of an older game of Tetris model in Excel. The model is designed for Excel 2003 or earlier versions and it’s too loaded with graphics to work well in Excel 2007 or 2010. You...
View ArticleExcel Tetris – a video demonstration
This is a video demo of an older game of Tetris model in Excel. The model is designed for Excel 2003 or earlier versions and it’s too loaded with graphics to work well in Excel 2007 or 2010. You can...
View ArticleAn Analog Clock Model – video preview
This is a video preview of the analog clock series which include a model section and a tutorial section.
View Article