Unfortunately, Keithley Instruments hasn't created any Excel macro examples for our instruments.
The closest software we used to offer was ExceLinx, but this is obsolete and unsupported due to lack of support for these add-ins in current versions of Excel.
You can find other examples on our GitHub that may be helpful, though:
https://github.com/tektronix/keithley