text boxes and vba

gdspeare

Board Regular
Joined
Oct 8, 2002
Messages
198
I'm trying to use a text box to write to a specific cell. i know the code is VERY simple, but can not figure it out... please help
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

phantom1975

MrExcel MVP
Joined
Jun 3, 2002
Messages
3,962
WELCOME TO THE BOARD!

Try this:

Range("A1").Value = TextBox1.Value

Is this what you are looking for?
 

jdavis9

Active Member
Joined
Mar 8, 2002
Messages
337
INSERT THE TEXT BOX FROM THE CONTROL TOOLBOX
THEN DOUBLE CLICK ON THE BOX.
UNDER PROPERTIES TYPE IN THE CELL TO LINK THE TEXT BOX TO.
 

Forum statistics

Threads
1,181,531
Messages
5,930,443
Members
436,738
Latest member
JFry

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
Top