|
-
Jan 3rd, 2005, 12:43 PM
#1
Thread Starter
Hyperactive Member
Creating Custom Reports From Excel App.
Hi all,
I am working on a spreadsheet application for the water industry that predicts the cost of various types of infrastructure works. The spreadsheet is quite simple to use but it performs a lot of calculations. Each user may want to create a report of their own project and the results they want in their report will probably vary from user to user. The spreadsheet actually has lots and lots of results and graphs and so to make it easy to create custom reports I want to have a 'Create Custom Reports' worksheet. This will basically be a lot of check boxes with which people will select what results/graphs/etc they want to include in the report.
My question is (before I create this worksheet): what is the best way to do this? I was thinking of having the report created in Excel but I thought a better approach would be to have Excel export the required information to Word, where it can be edited and printed like a normal document.
So, I am not asking for advice on how to create this worksheet. The help I need is on whether to have the report in Excel or Word. Which is the best/easiest one to use? If I use Word I will obviously have to export the selected data from Excel into Word. Is this easy? Would it require some VBA programming?
Thanks in advance.
-Rob
-
Jan 3rd, 2005, 02:02 PM
#2
Re: Creating Custom Reports From Excel App.
Just some food for thought:
If you were to place your app in Access instead of Excel, you could use a
form to allow them to choose the options for the report. Then either display
the report in Access or use the 'Analyze With...' menu item to export it to
Excel or Word automatically. This would give you three reporting options.
What do you think?
Also, what version of Office do your users have?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 4th, 2005, 07:04 AM
#3
Thread Starter
Hyperactive Member
Re: Creating Custom Reports From Excel App.
Hi RobDogg,
The application is almost complete and I don't want to have to re-do it. Besides, I've never really used Access before whilst I am quite familiar with Excel, so I'm afraid that is the only viable option for me.
I don't know exactly what version of Excel the user audience will have. I am writing it in Excel 2000 so I am going to recommend they have Excel 2000 or above, although I will be testing it in all the versions that I can find and also on as many different PCs as I can to ensure that it works across different platforms.
The way I was thinking of proceeding is this:
Have one worksheet with lots of checkboxes on so that users can select/deselect what they want to appear in the report e.g. results tables, graphs, text, etc.... then have another worksheet on which all these items are present. Then, for the items that are deselected simply hide the rows that contain these items. Then when the report is printed it will only print those items that are still visible (unhidden).
I think this can be made to work. I was also thinking of having an 'Export to MS Word' option, which is simply a button that the user clicks and Excel copies all the visible information, opens Word and pastes it into a new document.
If anyone has any comments about how feasible this is, or any ideas how I might do it better, then your thoughts are appreciated.
Many thanks
-Rob
-
Jan 4th, 2005, 07:14 AM
#4
Thread Starter
Hyperactive Member
Re: Creating Custom Reports From Excel App.
Mmm, okay. I just tried selecting/copying a whole worsheet with both text and graphs on, and then pasting it into Word. It only copies/pastes the text though - not the graphs. This could be a problem...
-
Jan 4th, 2005, 10:07 PM
#5
Re: Creating Custom Reports From Excel App.
Try inserting an object from the Insert menu in Word. Then browse to your
xl file and it will load the entire workbook.
HTH
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|