I need some help with how id code this, i've struggled for quite a while and just can't get it to work.
Basically say i've got three text boxes on a form - User Enters Information Against Each One
TextBox 1 = Name - Ian
TextBox 2 = Computer - Dell
TextBox 3 = System - Windows
If i was to setup a command button to copy that it would come out as
Ian
Dell
Windows
But what i want to happen is that say someone doesn't fill textbox 2 in. It would copy like this leaving a space
TextBox 1 = Name - Ian
TextBox 2 =
TextBox 3 = System - Windows
Eg:
Ian
Windows
Id prefer it to copy as
Ian
Windows
Any ideas? Tried If statements and everything (a lot more textboxes involved, hence why i want to try and get it working)
Currently just using
"Clipboard.SetText"
Basically say i've got three text boxes on a form - User Enters Information Against Each One
TextBox 1 = Name - Ian
TextBox 2 = Computer - Dell
TextBox 3 = System - Windows
If i was to setup a command button to copy that it would come out as
Ian
Dell
Windows
But what i want to happen is that say someone doesn't fill textbox 2 in. It would copy like this leaving a space
TextBox 1 = Name - Ian
TextBox 2 =
TextBox 3 = System - Windows
Eg:
Ian
Windows
Id prefer it to copy as
Ian
Windows
Any ideas? Tried If statements and everything (a lot more textboxes involved, hence why i want to try and get it working)
Currently just using
"Clipboard.SetText"