Macro Intro
Say you are a Lean process improvement consultant and work with a variation of different clients all with different complex systems and workflows. You have a series of Visio templates that you use to help your clients visualize the process flow, where value can be added and waste removed. The issue is every time you are onboarding with a new client m these Visio templates need to be updated with the client specific information, the appropriate user roles and the systems need to reflect what the client is using. All you want to do is focus on providing value to the client which is why we created the Excel Find and Replace across Multiple Visio workflows! This is an Excel macro that will Find and Replace values in Multiple Excel Workbooks. This macro references 3 columns in Excel. In Column A are the values to Find. In the adjacent cell in column B is the value that will Replace what is found. Column C is optional allowing you an opportunity to populate the full path to any Excel Workbooks you want to search through. If nothing is populated in the Column C this macro will loop through all of the Excel Workbooks available in the Active Excel Workbook’s Folder Path. Once a Excel Workbook is opened this macro will loop through every Find and Replace value placed in Column A and Column B. This Excel macro is a great way to maintain Visio Drawings that are routinely changing information.See it in Action
Watch this video to see this macro in action.***Video coming soon!***
Code
Here is the code for this macro. Make sure the following References are setup before running it: Visual Basic For Applications, Microsoft Excel 16.0 Object Library, Microsoft Office 16.0 Object Library, OLE Automation