NOVELTY - Electronic device comprises at least one organic layer comprising one or more substituted heteroaryl compounds (Q).    USE - (Q) is useful as a matrix material in an emitting layer, an electron-transport material in an electron transport layer or an electron injection layer in an electronic device, preferably organic integrated circuits, organic field-effect transistors, organic thin-film transistors, organic light emitting transistors, organic solar cells, organic optical detectors, organic photoreceptors, organic field-quench devices, organic light-emitting electrochemical cells, organic laser diodes, organic diodes, organic emitting plasmon emitting diode and organic LED.    ADVANTAGE - (Q) provides electronic device with high service life, high efficiency, high thermal stability and low operating voltage.    DETAILED DESCRIPTION - Electronic device comprises at least one organic layer comprising one or more substituted heteroaryl compounds (Q) of formula (I) or (II), where (Q) contain at least one group R1 comprising 6-30 membered aryl ring optionally substituted with one or more R2, 5-30 membered heteroaryl ring optionally substituted with one or more R2 or an aryl group of formula (-N(Ar1)2) (A).    E = a divalent group comprising S=O or S(=O)2;    W1, X = N, P or CR1;    Y1 = NR1, PR1, O or S;    Z = C (when a substituent is attached), CR1 or N;    R1 = C(=O)R2, CN, Si(R2)3, N(R2)2, NO2, P(=O)(R2)2, S(=O)R2, S(= O)2R2, linear 1-20C-alkyl, linear 1-20C-alkoxy, linear 1-20C-thioalkyl, branched or cyclic 3-20C-alkyl, branched or cyclic 3-20C-alkoxy, branched or cyclic 3-20C-thioalkyl, branched or cyclic 3-20C-alkynyl, branched or cyclic 3-20C-alkenyl (where one or more CH2 is optionally replaced by -R2C=CR2-, -CC-, Si(R2)2, C=O, C=S, C=NR2, -C(=O)O-, -C(=O)NR2, NR2, P(=O)(R2)-O-, -S-, SO or SO2 and one or more H are optionally replaced by D, F, Cl, Br, I, CN or NO2), 5-30 membered (hetero)aryl ring, 5-30 membered (hetero)aryloxy (all optionally substituted by R2), H, D, F, Cl, Br or I, where two or more R1 are optionally linked to form a ring;    R2 = C(=O)R3, Si(R3)3, N(R3)2, NO2, P(=O)(R3)2, S(=O)R3, S(= O)2R3, linear 1-20C-alkyl, linear 1-20C-alkoxy, linear 1-20C-thioalkyl, branched or cyclic 3-20C-alkyl, branched or cyclic 3-20C-alkoxy, branched or cyclic 3-20C-thioalkyl, branched or cyclic 3-20C-alkynyl, branched or cyclic 3-20C-alkenyl (where one or more CH2 is optionally replaced by -R2C=CR2-, -CC-, Si(R2)2, C=O, C=S, C=NR2, -C(=O)O-, -C(=O)NR2, NR2, P(=O)(R2)-O-, -S-, SO or SO2 and one or more H are optionally replaced by D, F, Cl, Br, I, CN or NO2), 5-30 membered (hetero)aryl ring, 5-30 membered (hetero)aryloxy (all optionally substituted by R3), CN, H, D, F, Cl, Br or I, where two or more R2 are optionally linked to form a ring;    R3 = H, D, F or an aliphatic or (hetero)aryl 1-20C-organic group (in which one or more H atoms are optionally replaced by D or F), where two or more R3 are optionally linked to form a ring; and    Ar1 = 5-30 membered (hetero)aryl ring optionally substituted by one or more R3.    INDEPENDENT CLAIMS are included for:    (1) the substituted heteroaryl compounds (Q) comprising (Qb)-(Qi);    (2) an oligomer, a dendrimer or a polymer comprising (Q), where the bond(s) to the polymer, oligomer or dendrimer many be located at any position substituted with R1 or R2;    (3) a formulation comprising (Q) and at least one solvent; and    (4) the preparation of (Q).    Ar2 = 5-10 membered (hetero)aryl optionally substituted with R2;    Het = heteroaryl group of formula (a)-(e);    T = N or CR2; and    m = 0 or 1, where the sum of m is 1.