+ Reply to Thread
Results 1 to 6 of 6

Copy parts of several sheets to Word

  1. #1
    Registered User
    Join Date
    11-21-2006
    Posts
    35

    Copy parts of several sheets to Word

    Once a week I copy quite a lot of information from Exel to Word, to make a report. The content is in identical schedules in one Excel file and it is the same area I copy from each sheet. At present I have a macro making the exact copy (as picture), but I have to shift between Word and Excel all the time. I am sure there is a way to automate this, I just don't know how to - and it is here I need your help. I know it can be done with some VBA programming, but unfortunately I do not have sufficient expertise...
    Attached Files Attached Files

  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 parts of several sheets to Word

    Why not just print from Excel?
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    11-21-2006
    Posts
    35

    Re: Copy parts of several sheets to Word

    Because it is only a part from each pane i need to print. The schedules of each pane are similar - but it is only a part of each schedule I need to gather in a report...

  4. #4
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Copy parts of several sheets to Word

    By definition, a macro is automation. Without seeing your code, we would have to make alot of assumptions. If you posted the dot or doc file, it would be easier to help.

    Not sure why you would switch between the 2. The macro would reference each application as an object. I am guessing that you would run the code from Excel.

    Are you using CopyPicture for a Range?

    You can use bookmarks in the doc file for a place to insert content. See this MrExcel thread for an example. These links show some TypeText methods.
    http://www.excelforum.com/excel-prog...ml#post1946784
    http://www.excelforum.com/showthread.php?p=1946784

  5. #5
    Registered User
    Join Date
    11-21-2006
    Posts
    35

    Re: Copy parts of several sheets to Word

    Yes I am using "Copy Picture" for a range - and that is the only thing the macro I have created does.

    Yes I would like the macro to run the code from Excel. Actually I never thought of doing it from Word.

    I switch between Excel and Word because I don't know how to make a macro that does this.

    The report is written in Word and the Excel input are meant to be part of this report.

  6. #6
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Copy parts of several sheets to Word

    Another link that might help would be to vbaexpress.com but they are offline right now. Another method using bookmarks with a copy paste routine is shown below. Notice how it differs from the standard Copy/Paste.
    Please Login or Register  to view this content.

+ 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