In an electron probe microanalyzer (EPMA) and a method of use thereof, even if plural sets of X-ray image data are obtained at different timings from regions between which a positional deviation occurs, processing for obtaining the correlation is performed precisely. The sets of X-ray image data are obtained from the same region of a sample using the EPMA at different timings and stored in memory along with sets of electron image data based on detection of secondary or backscattered electrons arising from the region. The sets of electron image data obtained at the different timings are compared, and the amount of positional deviation is calculated. An operation for extracting a region common to the regions respectively producing the sets of X-ray image data obtained at the different timings is performed on these sets of X-ray image data based on the calculated amount of positional deviation.