Try this
![]()
Sub Clear_TextBox() Dim tbx As OLEObject For Each tbx In ActiveSheet.OLEObjects If TypeName(tbx.Object) = "TextBox" Then tbx.Object.Text = "" End If Next End Su
Try this
![]()
Sub Clear_TextBox() Dim tbx As OLEObject For Each tbx In ActiveSheet.OLEObjects If TypeName(tbx.Object) = "TextBox" Then tbx.Object.Text = "" End If Next End Su
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks