I am writing a VBA code to get usage information of users who use my excel pivots connected to SSAS server. I want to get the time it takes to execute the query that i