Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SEA
 
Posts: n/a
Default Extract Data From Textbox

Is there a way to extract data from a textbox and use this data in a cell on
a different sheet? The cell would then update when the textbox was changed.
Can the textbox be refecenced with a function or can it be done with VBA?
  #2   Report Post  
IC
 
Posts: n/a
Default

In Properties-Linked cell for the textbox, type the full cell address of
your target eg Sheet2!A1

Ian

"SEA" wrote in message
...
Is there a way to extract data from a textbox and use this data in a cell
on
a different sheet? The cell would then update when the textbox was
changed.
Can the textbox be refecenced with a function or can it be done with VBA?



  #3   Report Post  
sea
 
Posts: n/a
Default

That will input the value from a cell into a textbox. What I am looking for
is to go the other direction. For example, I want the value of the text
entered into textbox1 to be extracted into cell A!.
Thank You
sea

"IC" wrote:

In Properties-Linked cell for the textbox, type the full cell address of
your target eg Sheet2!A1

Ian

"SEA" wrote in message
...
Is there a way to extract data from a textbox and use this data in a cell
on
a different sheet? The cell would then update when the textbox was
changed.
Can the textbox be refecenced with a function or can it be done with VBA?




  #4   Report Post  
Jason Morin
 
Posts: n/a
Default

While in design mode, right-click the textbox, go to View
Code, and use:

Private Sub TextBox1_Change()
Range("A1").Value = TextBox1.Value
End Sub

HTH
Jason
Atlanta, GA

-----Original Message-----
That will input the value from a cell into a textbox.

What I am looking for
is to go the other direction. For example, I want the

value of the text
entered into textbox1 to be extracted into cell A!.
Thank You
sea

"IC" wrote:

In Properties-Linked cell for the textbox, type the

full cell address of
your target eg Sheet2!A1

Ian

"SEA" wrote in message
news:E147EBB3-CDD3-4DDA-8C82-

...
Is there a way to extract data from a textbox and

use this data in a cell
on
a different sheet? The cell would then update when

the textbox was
changed.
Can the textbox be refecenced with a function or can

it be done with VBA?



.

  #5   Report Post  
sea
 
Posts: n/a
Default

Thank you!
Works perfect

"Jason Morin" wrote:

While in design mode, right-click the textbox, go to View
Code, and use:

Private Sub TextBox1_Change()
Range("A1").Value = TextBox1.Value
End Sub

HTH
Jason
Atlanta, GA

-----Original Message-----
That will input the value from a cell into a textbox.

What I am looking for
is to go the other direction. For example, I want the

value of the text
entered into textbox1 to be extracted into cell A!.
Thank You
sea

"IC" wrote:

In Properties-Linked cell for the textbox, type the

full cell address of
your target eg Sheet2!A1

Ian

"SEA" wrote in message
news:E147EBB3-CDD3-4DDA-8C82-

...
Is there a way to extract data from a textbox and

use this data in a cell
on
a different sheet? The cell would then update when

the textbox was
changed.
Can the textbox be refecenced with a function or can

it be done with VBA?



.




  #6   Report Post  
IC
 
Posts: n/a
Default

It actually works both ways, keeping the textbox and the cell in sync.

Ian

"sea" wrote in message
...
That will input the value from a cell into a textbox. What I am looking
for
is to go the other direction. For example, I want the value of the text
entered into textbox1 to be extracted into cell A!.
Thank You
sea

"IC" wrote:

In Properties-Linked cell for the textbox, type the full cell address of
your target eg Sheet2!A1

Ian

"SEA" wrote in message
...
Is there a way to extract data from a textbox and use this data in a
cell
on
a different sheet? The cell would then update when the textbox was
changed.
Can the textbox be refecenced with a function or can it be done with
VBA?






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Extract Data From Textbox

Is there any reason this shouldn't work work in Office 2007, with a TextBox
directly on a spreadsheet rather than a form? I can't get this to work and
wonder if I am missing something in my resource references and if anyone
knows what that might be.
--
Alan


"IC" wrote:

It actually works both ways, keeping the textbox and the cell in sync.

Ian

"sea" wrote in message
...
That will input the value from a cell into a textbox. What I am looking
for
is to go the other direction. For example, I want the value of the text
entered into textbox1 to be extracted into cell A!.
Thank You
sea

"IC" wrote:

In Properties-Linked cell for the textbox, type the full cell address of
your target eg Sheet2!A1

Ian

"SEA" wrote in message
...
Is there a way to extract data from a textbox and use this data in a
cell
on
a different sheet? The cell would then update when the textbox was
changed.
Can the textbox be refecenced with a function or can it be done with
VBA?






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
Help with data not getting plotted Scott Ehrlich Excel Discussion (Misc queries) 2 January 25th 05 05:17 AM
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 05:15 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Extract Data for Mail Merge Rashid Khan Excel Discussion (Misc queries) 7 December 24th 04 05:47 PM
Formula to Extract Data from a Table Macshots Excel Worksheet Functions 2 November 5th 04 06:35 AM


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