Very strange, Ruud's code works for me, too. However, it doesn't work inside the ReadEventlog() UDF. [Confused]
_________________________
There are two types of vessels, submarines and targets.