ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Extract Data From Textbox (https://www.excelbanter.com/excel-worksheet-functions/11059-extract-data-textbox.html)

SEA

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?

IC

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?




sea

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?





Jason Morin

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?



.


sea

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?



.



IC

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?







Alan Pederson

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?








All times are GMT +1. The time now is 01:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com