Excel VBA在医院基本药物数据统计中的应用

    Application of Excel VBA in Essential Drugs Data Statistics in Hospital

    • 摘要: 目的 介绍Excel VBA在医院基本药物数据统计中的应用。方法 利用Excel VBA编写筛选宏程序,筛选出基本药物,运用数据透视表,分类统计基本药物使用率和销售金额比例。结果 利用Excel VBA可实现基本药物自动筛选,数据透视表可快速完成基本药物使用率和销售金额比例的汇总计算,较人工操作快捷、简便、准确。结论 基于Excel VBA建立的筛选、计算基本药物的新方法切实可行,大大提高了工作效率。

       

      Abstract: OBJECTIVE To introduce the application of Visual Basic for Applications (VBA) in Microsoft Excel in essential drugs data statistics in hospital. METHODS The macro-program written in Excel VBA was built to selected essential drugs. Then, the use rate and sales ratio of essential drugs was calculated by PivotTable. RESULTS The macro-program based on VBA in Microsoft Excel could automatically screen essential drugs, and PivotTable could quickly calculate data of essential drugs. The whole process was faster, easier and more accurate compared with manual operation. CONCLUSION A new method of screening and calculating essential drugs based on Excel VBA is feasible, greatly improving the work efficiency.

       

    /

    返回文章
    返回