ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   userform initialize (https://www.excelbanter.com/excel-programming/369448-userform-initialize.html)

Patrick Simonds

userform initialize
 
How do I initialize a userform so that TextBox1 contains the value of Cell
E4 of the worksheet named Actions?



Bob Phillips

userform initialize
 
Private Sub Userform_Initialize()
Me.TextBox1.Text = Worksheets("Actions").Range("E4").Text
End Sub

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Patrick Simonds" wrote in message
...
How do I initialize a userform so that TextBox1 contains the value of Cell
E4 of the worksheet named Actions?






All times are GMT +1. The time now is 08:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com