Tore,
>When someone writes some code for you, we rarely have the chance to really test the program, so you have to check for typos. Is you read the code closely, you will see both loWorkbook and loWorkbooks.
We agree that we are not here to write fully operational code for someone for free. We are here to give help, answer questons, offer suggestions and help learn the language and how to use it.
>It's quite clear that loWorkbook should be loWorkbooks, you should also be able to find that error yourself.
In this case though they are two seperate things the plural is the collection and the singular is the the one real workbook open. They have pretty different methods.