I have the following code snipet to find out what kind of axis Excel uses but I receive the error, parameter not valid at
If .CategoryType = xlTimeScale
I have