Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 26th, 2007, 01:04 PM
Registered User
Join Date: Jun 2007
Location: , , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating Report from Multiple Workbooks

Hello, I'm fairly new to excel and vba, just after some advise please!

I have two spreadsheets associated with each of my projects, one called projectcosts.xls and one called projectspends.xls. These are stored in the same folder and are identical for each project. There are currently over a hundred projects and this will continue to rise, so we have quite a few of these files. The project costs sheet details all the costs we have allowed on each project. The project spends detail all the money we have spent on each project. They work really well on their own.

I would like to be able to create some custom reports to pull information from each sheet or several sheets such as:
1. Displaying all labour spends for all projects
2. Displaying order spends for a single project
3. Displaying project overview (all costs in and spends out) for all projects and a single project.
etc etc.

The question is, how would you do it!?..Whats the best route.

I've tried creating more worksheets and importing/linking data but found it to be a bit messy and time consuming. I've also tried importing the data into an Access database and creating webpages via ASP code. This is a bit more successful but is also taking a lot of my time to get right. Are there any reporting suites out there?

I'm quite tempted to scrap excel and write straight to a database, but the data entry girls like excel, I only know some basic ASP, and I don't really want to implement an entire new system...

I'll stop waffling now!...Thanks in advance. :)

Reply With Quote
  #2 (permalink)  
Old June 28th, 2007, 08:52 AM
Authorized User
Join Date: Jun 2004
Location: Darmstadt, , Germany.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts

I'd say the easiest would be consolidating your spreadsheets into one single spreadsheet with a different workbook for each.

Alternatively, you could use a single "master" workbook which you give the location of the other workbooks. XL can then access the data in the other worksheets as if they were all in one, or you can use SQL queries to retrieve the information you want. I would recommend Wrox's book Excel 2003 VBA Programmer's Reference
http://www.wrox.com/WileyCDA/WroxTit...764556606.html chapters 11 and 25 in particular.

Ne auderis delere orbem rigidum meum!
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ident Open Workbooks in Multiple Excel Instances DaveTheOgre Pro VB Databases 0 November 12th, 2008 03:33 AM
Creating Multiple Rows at 1 Time BrianWren Pro VB Databases 0 February 22nd, 2008 01:37 PM
creating multiple instances programmatically dcher BOOK: Access 2007 VBA Programmer's Reference ISBN: 978-0-470-04703-3 4 December 28th, 2007 02:21 PM
Creating a hyperlink with multiple values rayncarnation ASP.NET 1.0 and 1.1 Basics 0 October 13th, 2005 01:09 PM
Creating Multiple Sessions sen_d007 Classic ASP Basics 4 September 22nd, 2004 07:00 PM

All times are GMT -4. The time now is 06:39 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.