I want multiply three numbers in VB many
private sub cmdmult_click()
multiplication=Val(text1.text) * Val(text2.text)

please assist me

Recommended Answers

If you put a little effort into asking a proper question I'm sure you will get some useful feedback. In the meantime please read this thread for suggestions on how to post meaningful questions.

Jump to Post

All 2 Replies

If you put a little effort into asking a proper question I'm sure you will get some useful feedback. In the meantime please read this thread for suggestions on how to post meaningful questions.

What I can decipher from your question is (I'm just guessing)
To multiply 3 number you to do something like multiplication = Val(text1.text) * Val(text2.text) * Val(text3.text)
So you will need an extra textbox.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.