The experimental values of Curie temperatures of hexagonal R2Co7B3 (R = heavy rare earth) compounds are used to calculate the effective intersublattice exchange interactions, JRCo, between R and Co sublattices. A mean field approximation is used. The compounds belong to the Rn+1Co3n+5B2n family. The R2Co7B3 is a combination of CaCu5 and CeCo3B2-type structures. The JRCo has a tendency to decrease with increasing atomic number of the rare earth partner. A similar tendency has been found for other Fe and Co-based compounds.