Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Clear Text in Text Box control

I am using the following to clear the text in a text box:

Sheet2.Shapes("TB1").OLEFormat.Object.Text = ""

I found this solution on a previous post in this newsgroup and unfortunately
when I use it I get an error - Object doesn't support this property or
method.

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Clear Text in Text Box control

How about Sheets("Sheet2").TB1.Value = ""

Die_Another_Day
Qaspec wrote:
I am using the following to clear the text in a text box:

Sheet2.Shapes("TB1").OLEFormat.Object.Text = ""

I found this solution on a previous post in this newsgroup and unfortunately
when I use it I get an error - Object doesn't support this property or
method.

Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
clear text Chey Excel Discussion (Misc queries) 1 January 10th 08 12:29 AM
Bolding text in a control text box. AJL Excel Discussion (Misc queries) 3 November 16th 06 05:39 PM
Text Control - Wrap Text SF Excel Discussion (Misc queries) 2 February 6th 06 02:22 PM
Limiting physical length of text in a text box control XL2Know Excel Discussion (Misc queries) 1 October 6th 05 01:55 PM
Tool Tip Text for Form control/ Active-X control Freddie[_2_] Excel Programming 0 October 19th 04 04:14 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"