Is that for live demonstration in education with the help of a macro. I would be very interessted too. That could also be very helpful to show typical pivot selection method for sparse matrix elemination methods.
What I understand are you searching for the VB code?