+ Reply to Thread
Results 1 to 2 of 2

Activate word document from excel, run macro, copy results then activate excel

  1. #1
    Registered User
    Join Date
    05-06-2015
    Location
    England
    MS-Off Ver
    2014
    Posts
    71

    Activate word document from excel, run macro, copy results then activate excel

    Hi Everyone, I am hoping someone can help.

    I need my macro to activate a word document that is already open, run a macro that is on that word document, copy the results of the macro, then re-activate excel.

    I have searched all over the place and tried so many different things but I can not seem to get anything to work! I am not even sure if it is possible!

    Thankyou in advance

    Katy

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Activate word document from excel, run macro, copy results then activate excel

    You can get a reference to an instance of Word, but there's no guarantee it's the correct instance unless there is only 1 instance running...

    Please Login or Register  to view this content.
    If you have more than 1 document open then you need to iterate through the documents to find the right one. The remainder of your query is easy but it's just too vague. there's not enough information

+ 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. Copy Macro from Excel To Word Document
    By twitch73 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2013, 03:08 AM
  2. Macro to copy data within excel into tables in a word document
    By dapsef in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2013, 02:24 PM
  3. Activate Excel Macro from Powerpoint
    By PadLing in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-03-2013, 12:21 AM
  4. Replies: 3
    Last Post: 10-10-2012, 05:10 PM
  5. Replies: 0
    Last Post: 03-13-2012, 12:47 AM
  6. Activate VB Macro when opening excel file
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-21-2012, 01:35 PM
  7. [SOLVED] How do I activate Document Version management in Excel just like .
    By Pradeep Khanna in forum Excel General
    Replies: 0
    Last Post: 04-22-2005, 06:06 AM
  8. [SOLVED] activate a Word Window from Excel VBA
    By ben in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2005, 10:06 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