tuntime-error 1004 when trying to rescale a chart

R

Rainer

when trying to rescale a chart by means of

With ActiveChart.Axes(xlCategory)
.minimumScale=-.05
.maximumScale=1.95
End With

I always get a runtime error 1004 in line .minimumScale=-
..05
"Die MinimumScale-Eigenschaft des Axis-Objektes kann nicht
festgelegt werden" (I'm german and EXCEL speaks german
with me)

I've got the code by using the macro recorder.

I've also tried .minimumScaleIsAuto=True but I doesn't
work either.

I would be glad if anybody can give me a hint.

Many thanks in advance
Rainer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top