OK, I've finally got my brain in gear. Much simpler than I was thinking!
[VBA]
Sub Shows()
UserForm2.Show False
UserForm2.TextBox1 = Selection.Words(1)
End Sub
[/VBA]
OK, I've finally got my brain in gear. Much simpler than I was thinking!
[VBA]
Sub Shows()
UserForm2.Show False
UserForm2.TextBox1 = Selection.Words(1)
End Sub
[/VBA]
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'