Argh! I'm having a real bad day :(
Can someone please just give me the code (simple code) on how to convert pixels to twips...
Thanks :)
Printable View
Argh! I'm having a real bad day :(
Can someone please just give me the code (simple code) on how to convert pixels to twips...
Thanks :)
Code:'horizontal measurements:
nTwips = nPixels * Screen.TwipsPerPixelX
'vertical measurements:
nTwips = nPixels * Screen.TwipsPerPixelY
Awesome :) I actually figured this out before you posted it, but spot on :) thankyou so much :)
(i spent an hour trying to get it to work tho :D lol)
Thanks