PC Review


Reply
Thread Tools Rate Thread

Can I use code/macro to change code/macro in an existing file?

 
 
=?Utf-8?B?U2NvdHQgQmVkb3dz?=
Guest
Posts: n/a
 
      14th Feb 2007
I have a rather extensive excel file (131 pages and 4MB) that it used by 80
different users each in a remote location. I'm trying to make some updates
to the file without copying over each users copy of the file. I thought
about writing a macro/code to make changes to the necessary cells/worksheets,
which I can do. Where I'm running into problems is that some of the changes
need to be made to a few of the macros. Is it possible to setup one excel
file macro to change the macros in another file? If so, how?

Thanks so much,
Scott
 
Reply With Quote
 
 
 
 
=?Utf-8?B?ZGtpbm4=?=
Guest
Posts: n/a
 
      14th Feb 2007
here is a web site that has a lot of code examples to modify other code

http://www.cpearson.com/excel/vbe.htm

It's a good starting point

david

"Scott Bedows" wrote:

> I have a rather extensive excel file (131 pages and 4MB) that it used by 80
> different users each in a remote location. I'm trying to make some updates
> to the file without copying over each users copy of the file. I thought
> about writing a macro/code to make changes to the necessary cells/worksheets,
> which I can do. Where I'm running into problems is that some of the changes
> need to be made to a few of the macros. Is it possible to setup one excel
> file macro to change the macros in another file? If so, how?
>
> Thanks so much,
> Scott

 
Reply With Quote
 
=?Utf-8?B?TWFydGluIEZpc2hsb2Nr?=
Guest
Posts: n/a
 
      14th Feb 2007
Scott:

You may also want to consider add-ins. This way the macros are all kept
seperate and easy to update.

Although it is more difficult to move the file around because the code is in
the addin and that does not get copied.

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"dkinn" wrote:

> here is a web site that has a lot of code examples to modify other code
>
> http://www.cpearson.com/excel/vbe.htm
>
> It's a good starting point
>
> david
>
> "Scott Bedows" wrote:
>
> > I have a rather extensive excel file (131 pages and 4MB) that it used by 80
> > different users each in a remote location. I'm trying to make some updates
> > to the file without copying over each users copy of the file. I thought
> > about writing a macro/code to make changes to the necessary cells/worksheets,
> > which I can do. Where I'm running into problems is that some of the changes
> > need to be made to a few of the macros. Is it possible to setup one excel
> > file macro to change the macros in another file? If so, how?
> >
> > Thanks so much,
> > Scott

 
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
Assigning macro buttons to macro code in another file Enz Microsoft Excel Programming 2 25th May 2009 06:44 PM
Change Code in Macro to specify file/folder to look in. =?Utf-8?B?RHRvd24gRGF3Zw==?= Microsoft Excel Programming 1 14th Jul 2006 06:34 PM
macro code to change file-opening password arunjoshi Microsoft Excel Programming 1 16th Jun 2005 08:49 AM
Macro to change Macro code? =?Utf-8?B?S2Fpc2llcw==?= Microsoft Excel Programming 2 23rd Mar 2005 03:34 AM
adding more code to an existing macro VKachnow Microsoft Excel New Users 2 27th Jan 2004 04:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:18 AM.