Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
BJ BJ is offline
external usenet poster
 
Posts: 51
Default Need to Add Text to Control Text Box via Command Button code

[VBA Newbie ALERT]

I need to 'reset' the text within a text box [ActiveX control] when a user
selects a command button that 'resets' a model. I'm having difficulty with
the syntax. Not getting any errors, but nothing is happening.

Info_TextBox.Value = "[Enter Info Here]"

I've tried 'Contents' 'Text' etc. etc. in place of 'Value' with no luck ...

thanks.

BJ
  #2   Report Post  
Posted to microsoft.public.excel.programming
BJ BJ is offline
external usenet poster
 
Posts: 51
Default Need to Add Text to Control Text Box via Command Button code

I solved the problem. Thanks.

"BJ" wrote:

[VBA Newbie ALERT]

I need to 'reset' the text within a text box [ActiveX control] when a user
selects a command button that 'resets' a model. I'm having difficulty with
the syntax. Not getting any errors, but nothing is happening.

Info_TextBox.Value = "[Enter Info Here]"

I've tried 'Contents' 'Text' etc. etc. in place of 'Value' with no luck ...

thanks.

BJ

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
Command button text Steve W Excel Discussion (Misc queries) 1 May 4th 07 02:59 PM
Is there a Wrap Text command button? Álvaro Excel Discussion (Misc queries) 5 December 1st 06 05:21 PM
delete from text box using command button john tempest[_2_] Excel Programming 2 March 31st 06 08:19 AM
Control Tip Text on Excel Command Buttons Jason Zischke Excel Programming 1 January 10th 06 04:00 AM
Command Button text changes size RWN Excel Programming 2 May 8th 05 05:38 AM


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

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

About Us

"It's about Microsoft Excel"