Unit Conversion Tutorial

  • Thread starter Thread starter OceanEng
  • Start date Start date
O

OceanEng

Explanation:

I am an engineering student and I want to create a program which
calculates minimum piping wall thickness.

I am thinking that users will input a number in a text field and then
choose a base unit from a drop down menu. Another drop down menu will
display the intended units and the conversion will be calculated in
another text field. eg. (1 bar = 14.5 psi)

The user will then input this number into a formula and the resulting
answer will be displayed accordingly.

I am looking for a tutorial or some other reference in which to create
the drop down menus and to input the unit conversion factors.

thanks.
 
Consider cruising over to your local bookstore and getting the
VBA-centric books by Green et al, published by Wrox, and John
Walkenbach's "Power Prgramming in VBA". Heck, your library might have
them as well, though they are nice to have around on your bookshelf.

If I am following your intended design correctly, you are putting more
onus on the user than is neccessary. Why have the user type in a number
for a formula when your program will have calculated it?

HTH
Dave Braden
MVP
 
Back
Top