Christoph Jopp wrote: <snip> First, a big thank you to Fernand and Christoph for all your help. Xray is happily running (in English). I found what the problem was and it's actually quite funny. Maybe there is a warning about it somewhere but if not, perhaps there should be. I read this NG using Knode KDE's newsgroup reader. When Christoph supplied some code for me to test I just copied it from Knode and pasted it in the OO's Basic window. This was the problem. The leading character of each line copied and pasted from Knode is NOT a space (maybe it's a tab or something else) what ever it is, it choked BASIC making it throw up syntax errors on every line copied and pasted that way. The solution is to remove all non-printing characters at the beginning of each line copied and pasted and then indent manually in the Basic window. That gets rid of the Syntax errors and both of Christoph's versions work perfectly. I'll use the original as it's simpler.
The lesson: be careful about cutting and pasting code into the Basic window (at least when the code is copied from Knode). Anyway, thanks to you both, the macro works perfectly now and as a bonus I have Xray running. Jonathan -- Registerd Linux user #445917 at http://counter.li.org/ Please do not send me copies of list mail. I read the lists. Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
