ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to edit VB code programmatically (https://www.excelbanter.com/excel-programming/325007-how-edit-vbulletin-code-programmatically.html)

Jon

How to edit VB code programmatically
 
All,
I have a large set of excel files with which I need to add a VB module
then Find and Replace existing VB code with new VB code. Is there a way to
do this programmatically? In other words I don't want to manually open every
Excel file, add the module, and then run the Find and Replace. Instead Id
like to build a program/script to handle it all. Any help would be
appreciated. Thanks in advance!

--
J

Bob Phillips[_6_]

How to edit VB code programmatically
 
Take a look at www.cpearson.com/excel/vbe.htm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jon" wrote in message
...
All,
I have a large set of excel files with which I need to add a VB module
then Find and Replace existing VB code with new VB code. Is there a way

to
do this programmatically? In other words I don't want to manually open

every
Excel file, add the module, and then run the Find and Replace. Instead I'

d
like to build a program/script to handle it all. Any help would be
appreciated. Thanks in advance!

--
J





All times are GMT +1. The time now is 07:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com