In a large Pyrex measuring cup, stir together sugar, vinegar, salt, celery seed, turmeric and mustard seed. Add onions and cucumbers. Stir until all ingredients are covered. Microwave, uncovered, on high power for 5 minutes. Stir. Microwave on high for 5 minutes longer.