+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 18 of 18

handle file between Word & Excel in VBA

  1. #16
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    2,171

    Re: handle file between Word & Excel in VBA

    In that case, you might try the following two macros.

    The first is a variation of the original one but now saves the Excel workbook to the same folder and with the same name as the document. The second one opens that (updated) workbook to import the updates. So, provided the edited workbook's name is kept the same as the document's and is returned to the same folder, the updates should work seamlessly. As you will see, much of the code for the export and import is the same.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Cheers,
    Paul Edstein
    [MS MVP - Word]

  2. #17
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    2,171

    Re: handle file between Word & Excel in VBA

    Cross-posted at: http://www.vbaexpress.com/forum/show...p-Excel-in-VBA

    Please read the Cross-Posting policy in rule #8: http://www.excelforum.com/forum-rule...rum-rules.html

  3. #18
    Registered User
    Join Date
    01-11-2017
    Location
    London, England
    MS-Off Ver
    2003,2007,2010,2013
    Posts
    24

    Re: handle file between Word & Excel in VBA

    Dear Paul,



    sorry for being late to post this but i was on a vacation



    really i don't have enough words to thank you for that great code, i admire
    your efforts a lot.



    works like magic



    thanks again bro



    Cheers



    Ethen

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

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