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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Textbox from Sheet? 1

Status
Not open for further replies.

daseffects

Technical User
Aug 21, 2003
38
GB
I'm looking to load a range of text values from a sheet into a textbox on a userform. Am I even close w/ the below?

Private Sub Userform_initialize()
Load UserForm1
Userform1.Textbox1 = Range ("Sheet1!A1:A3")
End Sub

I do not want the userform to over write the range. Looking for just a one way fill.

David

 
Hi

You have 3 cells. That's 3 values. Are the supposed to be concatinated?
Code:
With worksheets("Sheet1")
  Userform1.Textbox1 = .[A1] & .[A2] & .[A3]
end with




Skip,
Skip@TheOfficeExperts.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top