M
Matt
Dear all,
I have a Excel 2007 pivot table connected to a SQL Server Analysis Services
cube that allows writeback (modification of data in cube). I've accomplished
this by setting 'ActiveCell.PivotTable.EnableDataValueEditing = True'.
This all works fine, but I'd like to prevent users from entering values into
the pivot table totals and grand totals and instead for them to edit the
individual lines.
This would seem easy to do by checking the value of PivotCellType for when
it is xlPivotCellGrandTotal, but this does not work.
Can anyone suggest any other methods?
Thanks,
Matt
I have a Excel 2007 pivot table connected to a SQL Server Analysis Services
cube that allows writeback (modification of data in cube). I've accomplished
this by setting 'ActiveCell.PivotTable.EnableDataValueEditing = True'.
This all works fine, but I'd like to prevent users from entering values into
the pivot table totals and grand totals and instead for them to edit the
individual lines.
This would seem easy to do by checking the value of PivotCellType for when
it is xlPivotCellGrandTotal, but this does not work.
Can anyone suggest any other methods?
Thanks,
Matt