M
Milos Setek
Hello all,
I am trying to get the points per pixel code going by doing this
With ActiveWindow
lWinWidth = .PointsToScreenPixelsX(.Selection.Width)
lWinHeight = .PointsToScreenPixelsY(.Selection.Height)
End With
But when I do a debug.print on lWinWidth or lWinHeight I get 0. There is a
chart on the worksheet and it is selected.
Does anyone know why or is there another way to get this number ?
Thanks for any help.
Milos.
I am trying to get the points per pixel code going by doing this
With ActiveWindow
lWinWidth = .PointsToScreenPixelsX(.Selection.Width)
lWinHeight = .PointsToScreenPixelsY(.Selection.Height)
End With
But when I do a debug.print on lWinWidth or lWinHeight I get 0. There is a
chart on the worksheet and it is selected.
Does anyone know why or is there another way to get this number ?
Thanks for any help.
Milos.