+ Reply to Thread
Results 1 to 3 of 3

Initiate a macro in one workbook and have it run in 4 other workbooks

  1. #1
    Registered User
    Join Date
    05-01-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    10

    Initiate a macro in one workbook and have it run in 4 other workbooks

    Hello,

    I have a file that is updated every day from an extract out of a database system. There are four reports that are saved as separate excel files in a folder and another file for reporting purposes. The reporting file it set up with fomulas like ='[filename1 - variable.xlsm]Sheet1'!B7 and so on. I only want this file to update when someone tells it to. Currently I have auto calculation turned off and just force it to calculate when I need it to update. Then delete the data in the update files, save and close. When I extact the update information from the database system it automatically pastes the data into the one of the four files that are then utilized to update the reporting file. So, I am looking for a macro that will let me force the calculations in the reporting file then delete the data from a range of cells(i.e. A1:A:1000) in each update file then save and close. Is this possible and can anyone help?

    Regards,

    Delta

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Initiate a macro in one workbook and have it run in 4 other workbooks

    Maybe if you put:

    Please Login or Register  to view this content.
    in your routine???
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646

    Re: Initiate a macro in one workbook and have it run in 4 other workbooks

    Calculation of a worksheet can be forced like this.
    Please Login or Register  to view this content.

+ 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