Hi ,
The property Application.Caller is returning the name of the button which has been clicked , such as Button 1 , Button 2 , Button 3 ,...
Using the construct :
Activesheet.Buttons(Application.Caller)
will return any of the following , depending on which button was clicked :
Activesheet.Buttons("Button 1")
Activesheet.Buttons("Button 2")
Activesheet.Buttons("Button 3")
and so on.
When we take the Caption property of the button which was clicked , we will get State 1 , State 2 , State 3 ,...
This is used to set the Report Filter of the Pivot Table.
Narayan