Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

10 cm = 5670

Status
Not open for further replies.

matrixindicator

IS-IT--Management
Sep 6, 2007
418
BE
I have a rectangle box on my Form. In the properties he show a width 10cm. If I ask the value with a MsgBox he generate 5670 ? Whats the logic ? I need the width to make calculations.
 
How are ya matrixindicator . . .

Access VBA uses a screen measurment called [blue]twips.[/blue]

1 inch = 1440 twips
or for you
2.54=1440

twips = (1440 * cm)/2.54
and
cm = (2.54 * twips)/1440

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
Also faq181-2886
 
The VBA help for the Width property clearly states that its value is returned in twips.
Note: 1440 twips = 1 inch

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Goto Top!

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
Also faq181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top