Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Avoid Control Cell changing.

Is there any way to avoid the Control Source of a text box (which ha
a formula in it, changing to the string value of the text bo
whenever the Box is selected

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Avoid Control Cell changing.

I actually had to make a change for the controlsource to be changed.

But what do you want to happen when the textbox does change?

If you're just trying to initialize the contents of the textbox when the
userform is shown, you could that in code:

Option Explicit
Private Sub UserForm_Initialize()
Me.TextBox1.Value = Worksheets("sheet2").Range("a1").Value
End Sub

And remove that controlsource.

But what should happen when the textbox is changed? Where should that new value
be saved (if at all)?

"Adeptus - ExcelForums.com" wrote:

Is there any way to avoid the Control Source of a text box (which has
a formula in it, changing to the string value of the text box
whenever the Box is selected.


--

Dave Peterson
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
Changing Cell Link on Spin Button Form Control Adam Ronalds Excel Discussion (Misc queries) 14 August 27th 09 05:52 PM
changing an activex control property using a macro Sian Excel Discussion (Misc queries) 1 January 11th 08 11:56 AM
? avoid changing sum function as rows added? JClark New Users to Excel 4 October 28th 06 08:37 PM
control textboxes keep changing size Jimbolina Excel Discussion (Misc queries) 1 November 8th 05 05:49 AM
Combo Box Control keeps changing sizes Michael Excel Worksheet Functions 0 February 16th 05 01:25 AM


All times are GMT +1. The time now is 09:26 AM.

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"