This is very easy to do.
Essentially what this cheat is based around is that if you have a weapon equipped and are riding a horse then you can't unequip the weapon. If you try selling the equipped weapon then you won't give the weapon to the sales person because you are on a horse, but you will still get the gold for the weapon from the NPC you are bartering with.
1) Equip your most expensive weapon.
2) Get on a horse.
3) Ride to Kvatch (the little camp of refugees south of the Oblivion gate)
4) Talk to 'Batul gra-Sharob' the female Orc and start Bartering.
5) Now you can sell that weapon as many times as you like, it won't be removed from your inventory, but you will get the gold for it.