toto jsem resil pomoci slozitejsich funkci ve VBA. Troufam si tvrdit, ze bez pouziti VBA toho nedocilis.