<p>I am working on a project converting a "spreadsheet application" to a database solution.  A macro was written that takes screen shots of each page and pastes them into a PowerPoint presentation.  Because of the nice formatting options in Excel, the presentation looks very pretty.</p>

<p>The problem I'm having is that I haven't ever seen an Access report that would be pretty enough to display to upper management.  I think the output still has to be a PowerPoint presentation.  It needs to look as close as possible to the original output.</p>

<p>I am currently trying to write some code to use a .pot (presentation template) and fill in the data programmatically.  Putting the data into a PowerPoint table has been tricky because the tables are not easy to manipulate.  For example, if a particular description is too long, I need to break into the next cell down (word-wrap isn't allowed because I can only have <em>n</em> lines per page).</p>

<p>Is there a way to make an Access report pretty, am I headed down the right path, or should I just try to programmatically fill in the Excel spreadsheet and use the code that already exists there to produce the presentation?  (I'd still need to figure out how to know when to break a line when using a non-monospaced font, as the users are currently doing that manually when they enter the data in the spreadsheet)</p>

<p>Jason Z:
If I set it to wrap, and I already have <em>n</em> lines, it would make <em>n</em>+1 or 2 lines on the slide, which is unacceptable.</p>

<p>Dennis:
That article looks very good, I should be able to glean something from it.  Thanks!</p>

[{'answer_id': 43776, 'author': 'Galwegian', 'author_id': 3201, 'author_profile': 'https://Stackoverflow.com/users/3201', 'pm_score': 2, 'selected': False, 'text': "<p>I have implemented Access reports which were 'pretty' enough. The downside is that it takes a <strong>lot</strong> of time and effort, and trial and error to produce the desired output.</p>\n\n<p>You can definitely get there, but it requires the patience of a saint.</p>\n"}, {'answer_id': 43845, 'author': 'Jason Z', 'author_id': 2470, 'author_profile': 'https://Stackoverflow.com/users/2470', 'pm_score': 0, 'selected': False, 'text': "<p>I personally would not try to re-invent the wheel here.  If you already have an Excel sheet that has the formatting you want, just export the data from Access into Excel for the report.  Now, if you didn't have the original Excel sheet to begin with, that would be a completely different story.</p>\n\n<p>As for breaking lines with non-monospaced fonts, have you tried setting the cell format to wrap?</p>\n"}, {'answer_id': 43871, 'author': 'Fionnuala', 'author_id': 2548, 'author_profile': 'https://Stackoverflow.com/users/2548', 'pm_score': 1, 'selected': False, 'text': '<p>I guess it depends on what you mean by pretty. For example, I do not find it particularly difficult to produce say, reasonable graphs and tables with alternate line shading in Access. It is also possible to use MS Word and fill in bookmarks, or mail merge. If the present system uses VBA to create the PowerPoint presentation, perhaps much of it could be transferred to Access? Microsoft have an article on Access to Powerpoint: <a href="http://msdn.microsoft.com/en-us/library/aa159920(office.11).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/aa159920(office.11).aspx</a></p>\n\n<p>Finally, it is not impossible to build HTML output from Access.</p>\n'}, {'answer_id': 43881, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': '<p>Joel, (your co-host here) did a thing about using access reports for shipping labels a few years back... maybe this could be a inspriation for you? </p>\n\n<p><a href="http://www.joelonsoftware.com/articles/HowToShipAnything.html" rel="nofollow noreferrer">http://www.joelonsoftware.com/articles/HowToShipAnything.html</a></p>\n'}, {'answer_id': 44025, 'author': 'paulmorriss', 'author_id': 2983, 'author_profile': 'https://Stackoverflow.com/users/2983', 'pm_score': 0, 'selected': False, 'text': '<p>It sounds like the path of least resistance is to fill in the Excel spreadsheet. We have a contractor who does our Access stuff, and for the more complicated reports he uses Excel. I guess complicated == hard to make look good.</p>\n'}, {'answer_id': 47356, 'author': 'Knox', 'author_id': 4873, 'author_profile': 'https://Stackoverflow.com/users/4873', 'pm_score': 0, 'selected': False, 'text': '<p>Rather than filling in the excel spreadsheet programmatically, you may want to use the external data features of Excel and Access.  Generally I put a query on each tab, which of course may be hidden. An "update all" causes all the queries to be updated. Then summary tabs show the pretty results from all the individual queries.</p>\n\n<p>For one particularly complex system, a bit of excel vba programmatically changed a query and then walked through the tabs updating each one.</p>\n\n<p>Finally, rather than doing screen shots, Excel has a "copy cells as a image" copy that populates the copy buffer with a resizeable image.  This could give you better looking results than a pure screenshot since a screenshot can have various deficiencies depending on pixel density.</p>\n'}, {'answer_id': 67447, 'author': 'David-W-Fenton', 'author_id': 9787, 'author_profile': 'https://Stackoverflow.com/users/9787', 'pm_score': 1, 'selected': False, 'text': "<p>I would suggest that the problem you're having is because the requirement to replicate the old method identically is an incredibly bad idea.</p>\n\n<p>You're not using Excel any more.</p>\n\n<p>You're using a different tool with different capabilities.</p>\n\n<p>Thus, you will use different methods to get results.</p>\n\n<p>Re-evaluate the original requirements to see if they still make sense (e.g., exactly why is PowerPoint involved at all? Can PowerPoint import from the Access report snapshot viewer? Can PowerPoint import from a PDF produced from an Access report?), or if they are too connected to the old tools, and then determine what is important and what isn't, and only <em>then</em> should you start designing your solution.</p>\n"}, {'answer_id': 79273, 'author': 'Shelley', 'author_id': 14650, 'author_profile': 'https://Stackoverflow.com/users/14650', 'pm_score': 3, 'selected': True, 'text': "<p>Access has the capability to create downright beautiful reports. The problem is that it can't make a spreadsheet look better than Excel. You have to know when to use each tool.</p>\n\n<p>Use Excel when you have spreadsheet-like formatting, need a lot of boxes and lines, or want to draw charts.</p>\n\n<p>Use Access when you will output a report as a PDF. It's very useful for one-record-per-page detail reports, formatting where you need to position things very precisely, and where you need to embed subreports with related or unrelated data. </p>\n\n<p>Think about the reports that would be nasty in Excel because you'd have to merge cells all over the place and do funny things with the placement and the layout would never work. That's where Access shines.</p>\n"}, {'answer_id': 235340, 'author': 'Knobloch', 'author_id': 2878, 'author_profile': 'https://Stackoverflow.com/users/2878', 'pm_score': 0, 'selected': False, 'text': "<p>Just an update:\nAfter a few hours of work, I was able to get a nice report out of Access (almost an exact copy of the excel version).  It wasn't as difficult as I thought, I just had to figure the correct mixture of out subreports and pagebreaks.  </p>\n\n<p>Working with the wordwrap features of Excel/Powerpoint were a dead end because there could only be a set number of lines per page, period; plus I was too lazy to nail down all the pagination with VBA code issues myself.  Like Shelley says, Access shines at report generation.</p>\n\n<p>The output ended up being a PDF (Using Adobe Acrobat Professional).  The problem I have left is getting select pages of said PDF into Powerpoint without Powerpoint antialiasing the results for me and making the resulting slide's text fuzzy.  I found a couple of articles on converting .snp output to .wmf, which sounds like the way to go on that front.</p>\n"}, {'answer_id': 502154, 'author': 'JeffO', 'author_id': 61339, 'author_profile': 'https://Stackoverflow.com/users/61339', 'pm_score': 1, 'selected': False, 'text': "<p>We create multi-colored, conditionally formated, reports that are printed for the partner meeting each month of a publically traded corporation. They're real pretty.</p>\n"}]
['https://Stackoverflow.com/questions/43764', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2878/']