# 宏病毒代码清除工具 **Repository Path**: liudashang/macro_virus_code_clearing_tool ## Basic Information - **Project Name**: 宏病毒代码清除工具 - **Description**: C#编写的清除excel表格中宏代码工具 - **Primary Language**: C# - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2020-02-27 - **Last Updated**: 2022-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 宏病毒代码清除工具 #### 介绍 C#编写的清除excel表格中宏代码工具 #### 软件架构 使用的.net framework4.0及以上版本,采用C#,根据VSTO微软office加载项开发方法进行的开发。开发该工具主要是因为公司有文档加密系统,杀毒软件无法正确对宏病毒进行查杀(能识别,但杀毒失败)。为了绕开加密,我查阅微软官方文档(visual basic for applications)中VBA扩展加载项中,关于VBE(通俗讲,就是excel表格中自带的VBA IDE)的API,通过操作VBE接口检查excel项目中的宏代码,并予以清除。 #### 安装教程 1. 安装visual studio 2019,和C#、VSTO开发组件 2. git clone项目,导入vs2019中编译即可 #### 使用说明 1. 安装.net framework4.0或以上版本 2. 运行程序即可 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)