HI from my poor experience if I want to use redim, i have to define the array as dynamic
may be try this public NDice() as integer sub main redim NDice(1 to 6) end sub Laurent -- ----------------------------------------------------------------- To unsubscribe send email to dev-unsubscr...@api.openoffice.org For additional commands send email to sy...@api.openoffice.org with Subject: help