I'm trying to write some code where it will select the max pivot item in "Workweek". However, I can't get it to quite work right. Thanks for your help.
![]()
Please Login or Register to view this content.
I'm trying to write some code where it will select the max pivot item in "Workweek". However, I can't get it to quite work right. Thanks for your help.
![]()
Please Login or Register to view this content.
Do you mean this solution?
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
No, in the workbook you posted. I would want workweek 26.2 be the only selection. The logic stops at workweek 25, I wonder why that is.
with the pivot table in the green cells.
This is close to what I want...the code breaks when I try to turn on lngMaxValue in the pivot table. I bolded the area where teh code breaks down.
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks