PC Review


Reply
Thread Tools Rate Thread

Change code with code?

 
 
CLR
Guest
Posts: n/a
 
      15th Apr 2010
Hi All.....
I've got 31 Excel .xlsm files to modify the "Change Event" macro in. Is it
possible to open and perform this with code, or must I do each one by hand?

TIA
Vaya con Dios,
Chuck, CABGx3


 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      15th Apr 2010
If it is the same change in each sheet, it would probably be just as easy to
go into the VBE, double click on the first sheet, make the correction, then
copy that correction and double click the second sheet, delete and paste.
Repeat the process 30 times. Takes less time than writing the code to do
it.


"CLR" <(E-Mail Removed)> wrote in message
news:FCE0E302-FFCD-40D3-BF48-(E-Mail Removed)...
> Hi All.....
> I've got 31 Excel .xlsm files to modify the "Change Event" macro in. Is
> it
> possible to open and perform this with code, or must I do each one by
> hand?
>
> TIA
> Vaya con Dios,
> Chuck, CABGx3
>
>



 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      16th Apr 2010
You can automate the process. See www.cpearson.com/Excel/VBE.aspx for
lots of information about how to modify code and components with code.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional,
Excel, 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com



On Thu, 15 Apr 2010 14:50:01 -0700, CLR
<(E-Mail Removed)> wrote:

>Hi All.....
>I've got 31 Excel .xlsm files to modify the "Change Event" macro in. Is it
>possible to open and perform this with code, or must I do each one by hand?
>
>TIA
>Vaya con Dios,
>Chuck, CABGx3
>

 
Reply With Quote
 
CLR
Guest
Posts: n/a
 
      16th Apr 2010
Thanks Chip........will give it a shot.

Vaya con Dios,
Chuck, CABGx3



"Chip Pearson" wrote:

> You can automate the process. See www.cpearson.com/Excel/VBE.aspx for
> lots of information about how to modify code and components with code.
>
> Cordially,
> Chip Pearson
> Microsoft Most Valuable Professional,
> Excel, 1998 - 2010
> Pearson Software Consulting, LLC
> www.cpearson.com
>
>
>
> On Thu, 15 Apr 2010 14:50:01 -0700, CLR
> <(E-Mail Removed)> wrote:
>
> >Hi All.....
> >I've got 31 Excel .xlsm files to modify the "Change Event" macro in. Is it
> >possible to open and perform this with code, or must I do each one by hand?
> >
> >TIA
> >Vaya con Dios,
> >Chuck, CABGx3
> >

> .
>

 
Reply With Quote
 
JLatham
Guest
Posts: n/a
 
      16th Apr 2010
I've personally stolen several sections from Chip's site to use - they work
rather well (certainly better than I was doing with the effort before finding
Chip's pages <g>).

P.S. Thanks Chip, for making me look so good at times!


"CLR" wrote:

> Thanks Chip........will give it a shot.
>
> Vaya con Dios,
> Chuck, CABGx3
>
>
>
> "Chip Pearson" wrote:
>
> > You can automate the process. See www.cpearson.com/Excel/VBE.aspx for
> > lots of information about how to modify code and components with code.
> >
> > Cordially,
> > Chip Pearson
> > Microsoft Most Valuable Professional,
> > Excel, 1998 - 2010
> > Pearson Software Consulting, LLC
> > www.cpearson.com
> >
> >
> >
> > On Thu, 15 Apr 2010 14:50:01 -0700, CLR
> > <(E-Mail Removed)> wrote:
> >
> > >Hi All.....
> > >I've got 31 Excel .xlsm files to modify the "Change Event" macro in. Is it
> > >possible to open and perform this with code, or must I do each one by hand?
> > >
> > >TIA
> > >Vaya con Dios,
> > >Chuck, CABGx3
> > >

> > .
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change abbreviated code to its code description Jewel Microsoft Access Getting Started 2 5th Feb 2009 10:33 PM
Run VBA code only worksheet change, but don't trigger worksheet_change event based on what the code does ker_01 Microsoft Excel Programming 6 3rd Oct 2008 09:45 PM
Code to change code in a sheet and workbook module Otto Moehrbach Microsoft Excel Programming 11 11th Nov 2007 07:20 PM
[New] Zipoid - ZIP Code, City Name and Area Code Lookup - Zip Code to Zip Code Distance Calculation Mel Freeware 0 22nd Jul 2005 04:13 PM
how do I dynamically change an html meta tag from my code behind code? ntm Microsoft ASP .NET 2 19th Jan 2004 05:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:38 PM.