Origin Version (Select Help-->About Origin): OriginPro 8 SR1 Operating System: Vista
edit - I solved the problem. I was declaring one of my datarange variables semi-globally without knowing it. I just needed to call the delete method in the right place.