Pyrrolopyrimidin-4-ylidene-malononitriles IIa-d were prepared as important intermediates for preparation of a new series of spiro-pyrrolopyrimidines. These intermediates undergo cyclisation via reaction with acetylacetone, guanidine hydrochloride or hydrazine hydrate. Elemental and spectroscopic evidences for the structures of these compounds are presented. The final compounds have been monitored for in vivo antihyperglycemic activity, compared with Amaryl as standard drug. Among 12 tested compounds, both spiro (pyrano IIIb and pyrazlo Va) derivatives exhibit promising anti-hyperglycemic activity.