Seems like replacing the word ”Dim” by ”Global” solved my problem. I just wonder why ”Dim” works when I don't run the macro from within the Basic IDE.
Kind regards Johnny Rosenberg ジョニー・ローゼンバーグ -- ----------------------------------------------------------------- To unsubscribe send email to dev-unsubscr...@api.openoffice.org For additional commands send email to sy...@api.openoffice.org with Subject: help