Microsoft
Software
Hardware
Network
Question : Create Printable Report from Excel Data
Hello,
I am trying to figure out what should be a very simple answer to a simple problem.
I have an Excel spreadsheet that looks similar to the following:
Name, Attribute 1, Attribute 2, Attribute 3
John Doe, ABC, DEF, GHI
John Doe, QWE, ERT, TYU
Jane Doe, QQQ, WWW, EEE
etc.
There are multiple entries for each individual; some have up to 15 entries, some have less. I want to print a report for John Doe which, for instance, states:
Name: John Doe
Line 1: ABC, DEF, GHI
Line 2: QWE, ERT, TYU
I want there to be a page break before the next person. These are reports which will be mailed to the individual. I want all of the lines, regardless of how many, to be listed under the person's name.
I don't want to use Access or any other database mechanism. I would like something as trivial as Mail Merge. I don't think that Mail Merge has the capabilities I need, unfortunately. If it were just a little bit more advanced it might. I want parameters such as putting in page breaks after the individual, not repeating grouping data [such as name], etc.
My fallback solution is to write a Java application which loops through and outputs HTML that can be printed to a PDF.
I am sure there must be some simple way, [like Mail Merge], to do this, however. I am trying to train someone and would like the ability to custom tailor this to the data without being stuck in the rigidity of a custom-coded program like Java would produce. Is there some way to do this with VBA or Macros? Is there some shareware program out there that acts like Mail Merge for Word with advanced functionality?
Thanks,
Joseph Irvine
Answer : Create Printable Report from Excel Data
Hello jkeagle,
you can actually use mail merge for that. Here are a few links to articles that describe the how. It's not trivial, but it can be done.
http://support.microsoft.c
om/?kbid=2
94686
here's a tutorial
http://lounge.windowssecre
ts.com/ind
ex.php?sho
wtopic=731
107&
hl=mai
l%20merge%
20tutorial
&st=0
cheers, teylyn
Random Solutions
Mass user Migrate from LCS to OCS 2007
KMS Activation Multiple Keys
Windows Server 2008 R2 iSCSI Initiator and HP D2D CHAP issue
Store file in mysql using connector.net and blob field
Video Chat Capabilities
Shell command doesn't work on all computers
how to change the automatic update settings on server 2008
How can I parse the following string, store it in a variable and then use those variables to populate some txt fields?
Word 2002/xp: Error Message: "Run-time error '4248'; 'This command is not available because no document is open.'"
sbs 2008 backup configuration