Home > Software engineering >  How to stipulate VBA length unit?
How to stipulate VBA length unit?

Time:10-02

Wrote a change in CorelDraw object function of the size of a small,
S_H=Val (HTPQ_String_Filter (ChangeSelect_TextBox_H. Text))/25.4
S_W=Val (HTPQ_String_Filter (ChangeSelect_TextBox_W. Text))/25.4
But sometimes you can accurately get the input value (mm), but sometimes is much smaller values, for example, sometimes I type 60 mm can get 60 mm this value, but sometimes the input 60 mm, got 2. Is the value of XXX
How to stipulate in VBA, excuse me a fixed unit, thank you

CodePudding user response:

Hey hey, buddy this parable fun, is a programming language, one is drawing ratio,
If you say the object refers to an array, dim x (100, 10) other objects of VB and size?

CodePudding user response:

reference 1st floor p46585 response:
hey hey, buddy this parable fun, is a programming language, one is drawing ratio,
If you say the object refers to an array, dim x (100, 10) other objects of VB and size?

Fun? So is there any interesting?
Take a look at, VBA for CorelDraw, if the unit is MM, object unit (length or width) is to calculate the MM, if the unit is CM, object unit is CM to calculate,

CodePudding user response:

This feeling does not have direct relationship with VBA, perhaps CorelDraw automatically according to the last use to measure unit conversion was done
  •  Tags:  
  • VBA
  • Related