Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15067

[RESOLVED] How do I Automatically update a text box, using a NumbericUpDown Box

$
0
0
I'm trying to make my program so it auto updates the price in the text boxes for this "Pod" whenever I increase or decrease the value of the NumericUpDown box.

People.Value is the NumericUpDown Box

'Calculating and Displaying Prices for Liverpool Pod
Code:

    If cboxPod.Text = "Liverpool" = True And People.Value >= 0 Then
        TotalPrice.Text = "£" & (9 * People.Value)
        VAT.Text = ("£" & TotalPrice.Text * 0.2)
        Subtotal.Text = ("£" & TotalPrice.Text * 0.8)
    End If

Does anyone have any help?

Viewing all articles
Browse latest Browse all 15067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>