I've made some small progress here but I'm still rather confused.
Will fail. Assuming it's the first item, the following will work to return the pivotitem.
Unfortunately, adding .visible = false (as below) fails.
The same code does work for standard "year" items so it seems that it won't allow hiding of the "before and after" items. Maybe there's another way. I set the range by right clicking and selecting group. I don't know why those even show up on there in the first place as I've clearly set the grouping range to not include dates before or after.
I'm hoping that there's some easy setting that I'm missing to simply not show those.
Bookmarks