Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default ControlSource

Can someone help me with what the control source is on a textbox and how to
write it in the properties menu of the vb editor

Thanks in advance

Greg


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ControlSource

Greg

A Control Source is a reference to a worksheet cell linked to the
TextBox field on your UserForm.

You can type in a cell address (use a sheet reference) or with a cell
name. Once you enter the reference to the worksheet, what you type in
the UserForm TextBox will appear in the

Be aware that a Control Source will overwrite the value in the cell,
even if it is a formula. (That is, if you enter a formula into the
linked cell, the UserForm text box will show the value in the UserForm
TextBox. However, once you view the value in the UserForm, the formula
will be replaced with it's value only.)

Play with it a few times on a test sheet...

Jim

Greg wrote:
Can someone help me with what the control source is on a textbox and how to
write it in the properties menu of the vb editor

Thanks in advance

Greg


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default ControlSource

Thanks Jim
I was trying to work out another way of using a combobox. I knew I was
wrong just had to have someone confirm it for me.

Thanks for the quick response


Greg


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
Change UserForm ControlSource with VBA [email protected] Excel Discussion (Misc queries) 2 February 24th 05 08:05 AM
ODBC ControlSource Dkso Excel Programming 5 June 28th 04 11:03 AM
Controlsource David Coleman Excel Programming 5 December 28th 03 01:14 PM
ControlSource Compatibility VBA - VB6 John M[_4_] Excel Programming 2 October 19th 03 05:30 PM
ControlSource problem Christy[_2_] Excel Programming 1 August 28th 03 03:44 AM


All times are GMT +1. The time now is 08:30 AM.

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"