tms12,
The reason you were getting an error regarding the sheetname, was because the sheet Raw Data has a space at the end of it:
-Instead of "Raw Data" it was "Raw Data "
Also, many of the ParterObj numbers were numbers stored as text. I highlighted all of column B in the "Raw Data " sheet and ran the following simple macro to convert them to numbers:
Lastly, because the sheetnames had spaces in them, I needed to update a section of the code to surround sheet names in single quotes in order to retrieve the data you were looking for:
After that, running the macro worked fine. I have attached a modified copy of your workbook. Here is the updated macro with your sheetnames and the updated section of code:
Hope that helps,
~tigeravatar
Bookmarks