Extract TextBox value in Excel 2007

CBV

New Member
Joined
May 2, 2011
Messages
6
I've searched all over and cannot find a solution to this.

Is there a way, either via a formula or a function, to extract the values (text) from a Textbox that sits on a spreadsheet (not a form) and put them into a cell in the same worksheet?

Example: Get the contents of TextBox1 and put it into cell A1.

Thank you.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Welcome to the Board!

Why not just use the TextBox's LinkedCell property?

You can also do something like this:

<font face=Calibri><SPAN style="color:#00007F">Sub</SPAN> TBText()<br>    Range("A1").Value = ActiveSheet.TextBox1.Value<br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN></FONT>

HTH,
 
Upvote 0
I can't get the Properties window to show the TextBox; it only shows the Worksheet.

I select the TextBox, then click "Properties" in the Developer Ribbon, but it won't show the TextBox. What am I missing? The LinkedCell option sounds like exactly what I need.
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,463
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top