PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Charting Points per pixel?

Reply

Points per pixel?

 
Thread Tools Rate Thread
Old 03-07-2003, 02:08 AM   #1
Milos Setek
Guest
 
Posts: n/a
Default Points per pixel?


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.



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off