Hi,

I have the following code that groups certain items in my pivot table:

Please Login or Register  to view this content.


How can I change the cell references to something less reliant of specific cells on the sheet like this (which obviously doesnt work):


Please Login or Register  to view this content.


Thanks.