Updating a value in a TextBox

MKK

New Member
Joined
Nov 15, 2005
Messages
20
Hello All,
Iam a beginner in VBA ...I just wanted to update a value in a text box...
the code is given below...
----------------------------------
If Val < 0.5 Then
DCVI.TextBox6.Text = "Diode Value < 0.5"
'theexec.RunOptions.RefreshRunOptionsWnd
TheExec.RunTestProgram

Else
MsgBox "Diode Value > 0.5"
End If

'Count of execution frequency within the loop
Nbr = TheExec.ExecutionCount
(here I wanted to update this value "Nbr"in TextBox6)
?????. Nbr
TheExec.Sites.Site(0).Active = False

-----------------

Thanks in Advance

Regards,

MKK
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Thx..writing in the active form...

Thx for the reply....but I have multiple forms with a similar structure and different inputs....now my difficulty is to write in the active form..
Is there anything that i can access the access form.
 
Upvote 0

Forum statistics

Threads
1,203,663
Messages
6,056,626
Members
444,879
Latest member
suzndush

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top