Transferring Text Box Content to cell - Formula Help

  • Thread starter Thread starter Shashi Bhosale
  • Start date Start date
S

Shashi Bhosale

Hi Gurus,

I need a help with a formula which will transfer the content of text box to
a cell.
Text box could contain any number of characters.

Thanks in advance.
 
A UDF (in a module) such as this :

Function xx()
xx = UserForm1.TextBox1.Text
End Function

and then in the target cell, type =xx()

BUT: F9 does not update the cell if the text box has changed. !?

You could use

Private Sub TextBox1_Change()
Range("A1")=userform1.textbox1.text
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top