Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My userform has a TextBox for First Name , Last Name and Employee #. What I
need to know is, how can I put the contents of all 3 Textboxes into one cell? Example: Last Name, First Name - Employee # |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assuming the text boxes are numbered in the same order that you listed them,
you could: Private Sub UserForm_Click() ActiveSheet.Range("A1") = Me.TextBox2,Value & "," & _ Me.TextBox1.Value & "-" & Me.TextBox3.Value End Sub But I would seriously consider putting the employee number in a separate column for sorting, searching, etc. at a later date if needed. "Pats" wrote in message ... My userform has a TextBox for First Name , Last Name and Employee #. What I need to know is, how can I put the contents of all 3 Textboxes into one cell? Example: Last Name, First Name - Employee # |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can i import data from a cell in another sheet, into a textbox | Excel Worksheet Functions | |||
Textbox data to cell | Excel Programming | |||
Load ws cell data into a textbox via click on chart datapoint | Charts and Charting in Excel | |||
Copy Textbox data to Textbox in Other File | Excel Programming | |||
Copy excel data (inc. textbox data) into Word | Excel Discussion (Misc queries) |