+ Reply to Thread
Results 1 to 2 of 2

change / modify VBA code in other files on the network

Hybrid View

  1. #1
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    change / modify VBA code in other files on the network

    I have created a workbook that basically provides users with templates that they can populate and then create different types of summaries.
    This was copied and given to fifteen users in our office. All of their workbooks are now unique with their own client information.
    Everything works fine so far.

    As they use the workbook, they are coming up with some suggestions and ideas. I had expected this anyway. But my problem is that every time I need to make a change I have to go to 15 seperate workbooks and make the chnage.

    I already have macros that open these workbooks [one at a time], copy some data out of each book and create summaries for the office.

    Can I create a macro in my master file that would remotely open these workbooks and modify or change VBA codes? The change would be same for all the books. Even if I could replace entire modules that would be fine.

    VBA is password protected in these workbooks.

    Any ideas or suggestions would be greatly appreciated.

    There are a number of chnages pending to be implemented. It would be a great time saver if I can run a macro and make changes to all workbooks on the network.


    Thanks,

    modytrane

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: change / modify VBA code in other files on the network

    If the VBA code is protected in the other workbooks then you can't change the code using a macro. What you need to do is to move the code to an excel addin, stored on the network then update the addin
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1