+ Reply to Thread
Results 1 to 2 of 2

SOLVED: Create a custom report

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    4

    SOLVED: Create a custom report

    I would like to create a custom report that takes data from Excel and merges it into a Word document. It's a bit different from a Mail Merge. Here is an example of what I mean:

    Let's say that my reports have a possibility of the following six sentences:
    1: Here is the forecast for today.
    2: Here is the forecast for yesterday
    3: Today the weather is cloudy
    4: You may want to take a raincoat today
    5: You won't need a raincoat today
    6: Please remember to support your local weatherman

    I would envision a column in which I would indicate which sentences I want included in the report. So let's say I indicate that I want sentence 1, 3, 5, and 6. It would generate the following:

    Here is the forecast for today. Today the weather is cloudy. You won't need a raincoat today. Please remember to support your local weatherman.

    A mail merge document would require that I put all the data in columns, so that I would have six columns. This will get unwieldy, in that these reports will have several hundred possible statements.

    EDIT: Tried out the solution. Worked exactly as I hoped.
    Last edited by jcm4ccc; 02-04-2015 at 09:34 AM.

  2. #2
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 2209 64-bit
    Posts
    21,457

    Re: Create a custom report

    I would have a single cell that merges together the multiple statements you want to include, so it looks like the sample paragraph you showed. Then Copy that cell, and Paste it as a Link to the target Word document. Then every time you update the Excel file, refresh the Word document and the change will be shown.
    Jeff
    | | |?| |?| |?| |?| | |:| | |?| |?|
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. How to create custom tabs using CUSTOM UI EDITOR in excel 2007
    By narendrabr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2014, 12:38 PM
  2. Replies: 0
    Last Post: 01-16-2013, 12:14 AM
  3. Replies: 2
    Last Post: 06-29-2011, 04:35 PM
  4. Printing a custom report
    By Terrance in forum Excel General
    Replies: 2
    Last Post: 10-19-2007, 10:22 PM
  5. [SOLVED] Custom Report
    By ClearColour in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-25-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