+ Reply to Thread
Results 1 to 5 of 5

Where do I save a macro that makes changes to many files?

  1. #1
    Registered User
    Join Date
    06-30-2011
    Location
    Stuttgart, Germany
    MS-Off Ver
    Excel 2010
    Posts
    26

    Where do I save a macro that makes changes to many files?

    Hi,

    Could you please tell me where I should save a macro that makes changes to many files? Could I have one main macro that is an executable file? For instance, I save the macro in my reports folder and when I double-click on it, the macro runs (opening, changing and closing different Excel files).

    Thank you in advance for your help!
    Last edited by az!; 07-08-2011 at 03:15 AM.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Where do I save a macro that makes changes to many files?

    You could store the code within your Personal Macro Workbook (if you don't have one it's easy to create).

    Alternatively you could create the macro and store it within a regular module within a normal Excel workbook and convert it to an add-in.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    06-30-2011
    Location
    Stuttgart, Germany
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Where do I save a macro that makes changes to many files?

    Hi Dom,

    Would you let me know how to store the code within my Personal Macro Workbook?

    Thank you!

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Where do I save a macro that makes changes to many files?


  5. #5
    Registered User
    Join Date
    06-30-2011
    Location
    Stuttgart, Germany
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Where do I save a macro that makes changes to many files?

    Hi Dom,

    Thank you very much for your help!

+ 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