Thanks.
It sounds like I should just avoid using the Shift type divides then with Longs...
Martin