[Application of Excel Visual Basic for efficiently complete statistic analysis].
OBJECTIVE
In order to analyze multiple statistic tables more efficiently Excel Visual Basic for Application (VBA) was introduced through the use of an example of calculating standardized mortality rates (SMRs).


METHODS
Mortality data of cancer and cardiovascular diseases, by sex and age, have been collected from 1991 to 2003 by the Center for Disease Control and Prevention of Shanghai Huangpu District. Standard population composition was defined as Chinese census statistics in 2000. The male's SMRs were calculated, using Excel VBA for each year and classification of cancers.


RESULTS
The male's SMRs were obtained by year and different cancers. At the same time, the results were listed in the cancer's SMRs table for male.


CONCLUSIONS
Excel is more flexible than general database on the combination of data and annotation. Excel VBA is better than the basic Excel in operating multiple tables simultaneously and man-machine conversation. Statistic analysis can be efficiently completed by using Excel VBA.
Hou
Xu-Hong
XH
Sixth People's Hospital of Shanghai Jiao Tong University, Shanghai 200233, China.
Shen
Fu-Jie
FJ
Wang
Jian-Hua
JH
Jiang
Qing-Wu
QW