ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   visual basic code (https://www.excelbanter.com/excel-programming/314752-visual-basic-code.html)

Whitey

visual basic code
 
I want to select to creat e "reset" button in a visual basic form, and i cant
not seem to find the correct code for selecting to the content of a text box
and delecting it, if anyone can help please get in contact.

Thanks Nick

Bernie Deitrick

visual basic code
 
Nick,

Something along the lines of:

USerform1.TextBox1.Text = ""

HTH,
Bernie
MS Excel MVP

"Whitey" wrote in message
...
I want to select to creat e "reset" button in a visual basic form, and i

cant
not seem to find the correct code for selecting to the content of a text

box
and delecting it, if anyone can help please get in contact.

Thanks Nick





All times are GMT +1. The time now is 02:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com