V1.08 with LastCol and LastRow properties added.

Code shared by  user MARCELVK on forum.openoffice.org