Thanks Ron that is a very neat program you have developed. That will help me in some other areas but it doesn't solve my problem of making the spreadsheet very simple to use for the basic user I'm dealing with.
I think I have a solution to my problem but I'm stuck on the last step.
-I have created a database query that pulls my data from our inhouse software package (I think its an ODBC database). I figured out how to sum a field in MS Query which drastically decreases the amount of lines on my spreadsheet. My final report is a financial report that is summarized monthly.
-Because this is a database query and not being pulled directly into a pivot table I can use the parameter values
-On another sheet I can base my pivot table off the database query.
My problem is when trying to use parameter values and a sum field I get the following error "Invalid column name 'Acc' Statement(s) could not be prepared. The error confuses me as I haven't renamed any columns. If I delete the sum column the parameter value works fine.
Here is the SQL code from MS Query if this helps
My end goal is to have a simple way for the user to change the query parameters without actually having to go into MS Query. The end report must be a pivot table. Hope this makes some sense.
Thanks
Bookmarks