jmacleary
Well-known Member
- Joined
- Oct 5, 2015
- Messages
- 1,060
- Office Version
- 365
- 2007
- Platform
- Windows
Hi folks.
I have inherited a complex set of 200+ workbooks which all have references to a master workbook embedded in the VBA. This reference is coded as a constant as follows:
Is there any way I can edit the VBA code without opening each workbook? Ideally I want to do a find and replace type operation to replace "masterbookname.xls" with "newmasterbook.xlsm".
Any help or ideas much appreciated.
I have inherited a complex set of 200+ workbooks which all have references to a master workbook embedded in the VBA. This reference is coded as a constant as follows:
Code:
Public Const ValidName As String = "masterbookname.xls"
Any help or ideas much appreciated.
Last edited: