Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the text box sting value in an excel formula

Status
Not open for further replies.

bnath

IS-IT--Management
Apr 7, 2003
16
US
How to get the text box sting value in an excel formula
 

If the question is, "can a SPREADSHEET formula reference a Control Toolbox Textbox?" the answer is no.

Notice that MS Forms has no textbox control.

Hmmmmmmmm.

Skip,

[glasses] [red]Be advised:[/red]To be safe on the FOURTH, don't take a FIFTH on the THIRD, or...
You might not come FORTH on the FIFTH! [bomb][tongue]
 

bnath, where is the text box? Directly on the worksheet? on a User Form? You haven't given us a lot to work with here.

What exactly is it that you are trying to do?

 

You could write a user function like
Code:
function TxtValue()
  TxtValue = Textbox1.Text
end function
then in your formula...
[tt]
="Some other stuff"&TxtValue()"more stuff"
[/tt]


Skip,

[glasses] [red]Be advised:[/red]To be safe on the FOURTH, don't take a FIFTH on the THIRD, or...
You might not come FORTH on the FIFTH! [bomb][tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top