MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
If Text2 <> "" Then MsgBox "Data already in Textbox" Else Dim varData If Selection.Rows.Count > 1 Then varData = Join(Application.Transpose(Selection.Value), vbCr) ElseIf Selection.Columns.Count > 1 Then varData = Join(Application.Transpose(Application.Transpose(Selection.Value)), vbCr) Else varData = Selection.Value End If With Me.Text2 .Text = varData End With End If
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.