Helge Kraak schreef:
Thank your very much Cor! I removed the indents with the hope to resolve the error by deleting potential hidden text in the macro (I know it sounds strange but I was too desperate :-)).
Aha ;-) There are some things you can do to make it easier/better. - Add some procedures for dull/lengthy tasks; - Option Explicit - a must imo; - Seperators; - Globals in the header (afaik, also a must);
But still I'm confused because as I can see I have only 3 loops starting with "do" in the procedure but there are 4 "loop" closing the loops. Is there something I don't understand about loops, am I too blind or is it something else? :-)
Hmm, I think you are right. The one-but last 'Loop' has to be and 'And If'. Pls test :-) Kindest regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
