This is a stupid question.....but I have put some code inside a text box which I want to make the contents of the text box change immediately depending one what else is happening on the form.
Makes no sense? Heres the code, I know it must be so obvious...
VB Code:
Option Explicit Dim TOTAL As Double Dim LINES As Integer Private Sub txttotal_Change() LINES = txtlines.Text If cmoperms.Text = "10p" Then TOTAL = ("0.10") * LINES End If txttotal.Text = TOTAL End Sub
Im gonna hit myself when I find out the answer.....:rolleyes:
