+ Reply to Thread
Results 1 to 3 of 3

» Copy worksheet information to Word using VBA in Microsoft Excel cont...

  1. #1
    Registered User
    Join Date
    07-28-2009
    Location
    Stavanger, Norway
    MS-Off Ver
    Excel 2003
    Posts
    28

    » Copy worksheet information to Word using VBA in Microsoft Excel cont...

    Hi - I'd really like to modify this awesome formula in this post to export 2 specific print ranges from only two separate worksheets in my workbook (instead of all worksheets)

    Unfortunately, I'm lacking the VBA know-how...

    (ps. Tried to post reply to this post directly, but got error message "thread doesn't exist.." etc).

    Many thanks for you help!

    http://www.exceltip.com/st/Copy_work...Excel/481.html

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: » Copy worksheet information to Word using VBA in Microsoft Excel cont...

    Is there any eason you cannot do it all in Excel without exporting to Word?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    02-23-2006
    Location
    Near London, England
    MS-Off Ver
    Office 2003
    Posts
    770

    Re: » Copy worksheet information to Word using VBA in Microsoft Excel cont...

    Due to the way you want to use the function I would move the section that actually does the copying into it's own sub.
    Then pass that sub a 'word document' as a destination, a range that you want placed in the document, and lastly whether you want a page break to follow it or not.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Obviously you need to specify the correct sheet names and ranges in the RED sections
    Last edited by Phil_V; 07-28-2009 at 09:21 AM. Reason: Added clarity of sections that would need changing
    If you find the response helpful please click the scales in the blue bar above and rate it
    If you don't like the response, don't bother with the scales, they are not for you

+ 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