Results 1 to 13 of 13

Macro that prompts user to select a file to open and perform another macro on this file

Threaded View

grimmy26 Macro that prompts user to... 01-15-2014, 12:02 PM
Norie Re: Macro that prompts user... 01-15-2014, 12:05 PM
grimmy26 Re: Macro that prompts user... 01-15-2014, 12:08 PM
grimmy26 Re: Macro that prompts user... 01-15-2014, 12:13 PM
Norie Re: Macro that prompts user... 01-15-2014, 12:12 PM
Norie Re: Macro that prompts user... 01-15-2014, 12:27 PM
grimmy26 Re: Macro that prompts user... 01-15-2014, 12:33 PM
grimmy26 Re: Macro that prompts user... 01-15-2014, 01:57 PM
Norie Re: Macro that prompts user... 01-15-2014, 02:20 PM
grimmy26 Re: Macro that prompts user... 01-16-2014, 03:54 AM
Norie Re: Macro that prompts user... 01-16-2014, 05:41 AM
grimmy26 Re: Macro that prompts user... 01-16-2014, 07:43 AM
grimmy26 Re: Macro that prompts user... 01-16-2014, 08:39 AM
  1. #1
    Registered User
    Join Date
    01-15-2014
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Macro that prompts user to select a file to open and perform another macro on this file

    Greetings

    I have spent the last couple of days trawling various forums to try and find a solution to my "problem." Basically I have macro (from here onwards will be referred to as Macro 1) which takes a set of data, formats it and then performs a couple of calculations. Macro 1 runs fine and always gives the correct values, however Macro 2 is what has me stumped.

    I want to run Macro 2 in a "summary workbook" so that the user is prompted to select a file which is then opened and then Macro 1 is automatically performed on the selected workbook. Once the values have been calculated these values will then be copied and pasted back into the summary workbook. To summarise:

    1. Run Macro 2 in "Summary workbook"
    2. User is prompted to select another workbook
    3. "other workbook" is then opened and Macro 1 is performed on it.
    4. Once the values in "other workbook" are calculated these are then copied and pasted into the appropriate cells in "Summary workbook". The two cells that will be populated in the "Summary workbook" are next to each other in the same row so I am guessing a simple copy and paste would work but the appropriate cell would have to be selected prior to running macro 2.

    May be asking a lot here, but would like to know if it is at least possible before I expend any further time/energy on this "project"

    Thanks in advance

    Matt
    Last edited by grimmy26; 01-16-2014 at 07:43 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Perform macro "on open" specific file- store macro in Personal Macro Workbook?
    By thompssc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-17-2012, 12:38 PM
  2. macro prompts immediately to open a file once the Excel file with the macro is opened
    By jhmayor03 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2012, 10:00 AM
  3. macro that prompts to open another Excel file
    By jhmayor03 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-02-2012, 02:19 PM
  4. [SOLVED] Can I disallow the user to open a file if he disable the macro while the file is opening?
    By Robin in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-07-2011, 04:17 AM
  5. User prompt -> Open file -> Perform action
    By erikhs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2006, 08:55 AM

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