We use a two-compartment model, which includes soma and dendrite, to explore how extracellular subthreshold sinusoidal electric fields (EFs) influence the spike coding of an active neuron. By changing the intensity and the frequency of subthreshold EFs, we find that subthreshold EFs indeed affect neuronal coding remarkably within several stimulus frequency windows where the field effects on spike timing are stronger than that on spiking rate. The field effects are maximized at several harmonics of the intrinsic spiking frequency of an active neuron. Our findings implicate the potential resonance mechanism underlying subthreshold field effects. We also discuss how neuronal morphologic properties constrain subthreshold EF effects on spike timing. The morphologic properties are represented by two parameters, gc and p, where gc is the internal conductance between soma and dendrite and geometric factor p characterizes the proportion of area occupied by soma. We find that the contribution to field effects from the variation of p is stronger than that from gc, which suggests that neuronal geometric features play a crucial role in subthreshold field effects. Theoretically, these insights into how subthreshold sinusoidal EFs modulate ongoing neuron behaviors could contribute to uncovering the relevant mechanism of subthreshold sinusoidal EFs effects on neuronal coding. Furthermore, they are useful in rationally designing noninvasive brain stimulation strategies and developing electromagnetic stimulus techniques.