Skip to content

Yugue/vsto_find_replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vsto_find_replace

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.

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:

All copyright reserved to the author.

Releases

No releases published

Packages

No packages published

Languages