Results 1 to 3 of 3

Create a macro which open and run a macro in another workbook

Threaded View

  1. #1
    Registered User
    Join Date
    01-04-2010
    Location
    Amsterdam, Netherland
    MS-Off Ver
    Excel 2003
    Posts
    43

    Create a macro which open and run a macro in another workbook

    Hello.

    Considering that I do not have power automate desktop ( only cloud) I have to automate something via VBA.

    Actions:

    1) I have a workbook ( A ) with a sheet named "parameters' and in this sheet there is a list with parameters ( Fix , Floating , None ) . I have to select one of these values.

    Build a macro in this workbook ( A) which does :


    2) Open another workbook ( B),
    3) Transfer in (B) in a precise cell the parameter selected in the workbook A
    4) Run a macro already build in the workbook (B) which is going to use as the main parameter the one that we just transferred in (B) via action 3 .

    4) At the end I'd like to transfer ( copy / paste) the output of the macro in the workbook (B) in another workbook ( C) .
    5) Close workbook (B)

    Is it possible ?
    Last edited by Sokol; 03-20-2024 at 02:00 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create list of macro names from VBE in another open workbook?
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2022, 09:53 PM
  2. Macro VBA to copy and paste cells from one open workbook to another open workbook
    By bloomingcarrot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2014, 07:55 PM
  3. Macro to open a closed workbook and select copy cells into an open workbook
    By helloganesh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2013, 02:00 PM
  4. [SOLVED] Macro to copy data from open workbook to next open line of new workbook
    By nhtodd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2012, 09:42 PM
  5. 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
  6. how can we create a macro that run only once on open workbook event
    By sharmanjali87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2010, 02:00 AM
  7. how can we create a macro that run only once on open workbook event
    By sharmanjali87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2010, 01:55 AM

Tags for this Thread

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