Link to home
Start Free TrialLog in
Avatar of Andreas Hermle
Andreas HermleFlag for Germany

asked on

PointsToCentimeters VBA

Dear Experts:

I would like to retrieve the width and height of the first chart in a MsgBox ...
    W = ActiveSheet.ChartObjects(1).Width
    H = ActiveSheet.ChartObjects(1).Height

The measurements are regrettably displayed in Points, but I would like to show the measurements in centimeters rounded to two decimal places after the decimal point.
How is this achieved?

Help is much appreciated, thank you very much in advance,

Regards, Andreas
ASKER CERTIFIED SOLUTION
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Andreas Hermle

ASKER

Great. This did the trick. Thank you very much for your professional support. Regards, Andreas