I've got this simple Do While Not..Loop structure that should work. It doesn't, and returns an error that there is a 'Loop without Do' - if I remove the loop line I get a 'Do without Loop' error.

This is exactly the same if I try a For..While..Next structure as well.

Can someone please help me out of this paradox!!