Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default put worksheet values into textbox on form


I have a form that I'm using to get values to put into various
worksheets.

On some of the forms I'd like to in turn get some calculated values
from the worksheets and display them in a textbox.

I haven't been able to figure out how to do this.

It seems like it should be simple.

I can go in the other direction, putting the textbox values from the
form into the worksheets.

Thanks


--
thmort
------------------------------------------------------------------------
thmort's Profile: http://www.excelforum.com/member.php...o&userid=25296
View this thread: http://www.excelforum.com/showthread...hreadid=387819

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default put worksheet values into textbox on form

The way that I use is to name the cell (Highlight the cell of
interest, go to the menu bar and choose InsertNameDefine. Call the
cell anything - no spaces!). In your UserForm, when you want the cell
contents to appear, place something like:

TextBox.Value = Range("NamedCell").Value

Hope this helps.

-Minitman


On Sun, 17 Jul 2005 02:34:17 -0500, thmort
wrote:


I have a form that I'm using to get values to put into various
worksheets.

On some of the forms I'd like to in turn get some calculated values
from the worksheets and display them in a textbox.

I haven't been able to figure out how to do this.

It seems like it should be simple.

I can go in the other direction, putting the textbox values from the
form into the worksheets.

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default put worksheet values into textbox on form

TextBox1.Text = Worksheets("Sheet2").Range("A1").Value

--
HTH

Bob Phillips

"thmort" wrote in
message ...

I have a form that I'm using to get values to put into various
worksheets.

On some of the forms I'd like to in turn get some calculated values
from the worksheets and display them in a textbox.

I haven't been able to figure out how to do this.

It seems like it should be simple.

I can go in the other direction, putting the textbox values from the
form into the worksheets.

Thanks


--
thmort
------------------------------------------------------------------------
thmort's Profile:

http://www.excelforum.com/member.php...o&userid=25296
View this thread: http://www.excelforum.com/showthread...hreadid=387819



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
pass to textbox on a form and to excel worksheet cvw New Users to Excel 0 March 16th 10 07:35 PM
User Form in VB = TextBox Kel Excel Discussion (Misc queries) 1 August 11th 05 12:26 AM
TextBox on a Form How do I.......? Casey[_15_] Excel Programming 2 February 19th 05 09:34 PM
textbox on form Glenn Robertson Excel Programming 1 March 4th 04 11:29 AM
Extract unique values from worksheet into form Gary[_9_] Excel Programming 1 August 28th 03 09:22 PM


All times are GMT +1. The time now is 04:51 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"