项目作者: Yugue

项目描述 :
Find and replace in batch Excel sheets add-in
高级语言: C#
项目地址: git://github.com/Yugue/vsto_find_replace.git
创建时间: 2019-12-16T18:07:25Z
项目社区:https://github.com/Yugue/vsto_find_replace

开源协议:

下载


Excel-Find-and-Replace-in-Batch

Find and replace in batch for Excel files in a selected directory add-in button written in VSTO C

* Disclaimer: Although this add-in has been tested and proven to be working, all risks and responsabilities go to the user of the add-in. This add-in works only on windows.

Demo

Functionalities:

1) The “Find and Replace” button works for xlsx, xls, xlsm, xltx, xltm, xlt files, and “Find and Replace XLT” works for xlt files only. You have to select the folder where you would like to make the replacement, and all the Excel files will be overwritten with the new changes.
2) The replacement will be made for part of a string as well, for example “firstaaaa” will be replaced into “secondaaaa”.
3) If the file doesn’t contain the targeted string, it will not be modified
4) It does not replace the files in a subfolder in the selected folder
5) The program will stop if one of the Excel files is protected
6) The program will stop if one of the Excel files is “read-only”

How to install:

1) download and install the “find and replace in batch.msi” from this repo
2) requires .net framework of 4.0 or higher

Install the msi file, then open Excel, there should be a “Find and Replace” tab on the top ribbon.

or you can download the whole folder, and open it as a solution on VisualBasic, run the solution, then the ribbon will appear. You will need:
1) .net framework of 4.0 or higher
2) Microsoft Visual Studio 2010 Tools for Office
3) latest .NET Core SDK

Useful resources: