can not figure out how to clear activex text box

Captain_Context

New Member
Joined
Feb 8, 2011
Messages
5
Hi, I have a very simple problem that I can not find any information on.

I have an activex combo box that has a list in it and a activex text box in a user form I have made (made straight from excel without any VBA as I do not have the slightest clue about how to use VBA - and yes I know I shuold in the future)

any way I have a shape/picture that I have to "clear the information" I have tried countless times to record a macro to do this, but have had no luck so far. In fact it won't let me even record a macro while I have selected either of these two boxes. I am very confused as to what to do next as I can use a form control box and run a macro to clear them just fine (but I need to be able to have larger text and use an activex box), but something must be needed to run a activex box properly
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try to add this code-that will make the textbox1 become empty

Code:
Public Sub Reset_Textbox1()
    TextBox1.Text = vbNullString
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,553
Members
452,928
Latest member
101blockchains

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