Jul 6, 2005 #1 bnath IS-IT--Management Apr 7, 2003 16 US How to get the text box sting value in an excel formula
Jul 7, 2005 #2 S SkipVought Programmer Dec 4, 2001 47,492 US 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, [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! Upvote 0 Downvote
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, [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!
Jul 7, 2005 #3 Zathras Programmer Nov 12, 2002 3,317 US 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? Upvote 0 Downvote
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?
Jul 7, 2005 #4 S SkipVought Programmer Dec 4, 2001 47,492 US 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, [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! Upvote 0 Downvote
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, [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!