Which cell contains the value? You can simply use the UserForm_Initialize event to populate a TextBox
![]()
Private Sub UserForm_Initialize() Me.TextBox1.Value = Sheet1.Cells(1, 1).Value End Sub
Which cell contains the value? You can simply use the UserForm_Initialize event to populate a TextBox
![]()
Private Sub UserForm_Initialize() Me.TextBox1.Value = Sheet1.Cells(1, 1).Value End Sub
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
ok my sheet is called 'CORRECT FORMAT' and the cell is AO7
so what should the formula be?
sorry, im just useless with formulas.
Thanks
You aren't using formulas in a userform. Do you mean a VBA userform?
sorry i didnt mean to say formulas lol.
I think this is what you want
![]()
Private Sub UserForm_Initialize() Me.TextBox1.Value = Sheet("CORRECT FORMAT").Range("AO7").Value End Sub
THANKS... ur a legend !
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks