+ Reply to Thread
Results 1 to 5 of 5

Running a Macro in a Different File

  1. #1
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Running a Macro in a Different File

    Hi

    Several times a week I get sent a rather crude Excel spreadsheet. The layout of the spreadsheet doesn't change, only the content. The file name is always different - based on the dates it covers.

    I want to be able to run a macro on these spreadsheets so it formats them how I want, and sets them up correctly for viewing and printing.

    Is there a way to do this?

    Cheers, Paul
    Last edited by EdWoods; 02-25-2024 at 04:25 PM.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Running a Macro in a Different File

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Re: Running a Macro in a Different File

    Thanks.
    I’ll give it a try when I get home.

  4. #4
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Re: Running a Macro in a Different File

    This seems to work, thanks.

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Running a Macro in a Different File

    You are welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Running a macro saved in the Personal.xlsb file from a batch file
    By LadyDesperada in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2021, 06:37 AM
  2. [SOLVED] Macro keeps running even after the file that contains it has been closed
    By davepoth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-19-2014, 09:06 AM
  3. Running a Macro on a File with Changing Name
    By Voluntaryist in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2014, 11:18 AM
  4. Having to resave a csv file after running a macro
    By grecianite in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-21-2012, 12:22 PM
  5. Running a macro on a file, but Mac's can't
    By rickwtx in forum Excel General
    Replies: 1
    Last Post: 01-15-2011, 05:30 AM
  6. Running a Function or macro of child file from a Master file
    By ravinder_tigh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-01-2009, 11:25 PM
  7. Cannot find file when running macro
    By xgirl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2005, 03:15 PM

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