I have some VBA code which runs successfully in other excel spreadsheets. It expands row detail within a pivot table. I have just tried using it in a new spreadsheet however