J
JoelW
Let's say you're programming in VB.NET, and you have:
Dim str1 As String
Dim str2 As String
Dim str3 As String
str1 = "I am red"
str2 = "I am yellow"
str3 = "I am dark green"
With TextBox1
.Text = str1 & ", " & str2 & ", " & str3
.SelectAll
.Copy
End With
....and you want to copy 'str' to the clipboard, with "I am red" in red
font, "I am yellow" in yellow font, and "I am dark green" in dark green
font?
I feel like I'm missing something obvious...
Thanks!
Dim str1 As String
Dim str2 As String
Dim str3 As String
str1 = "I am red"
str2 = "I am yellow"
str3 = "I am dark green"
With TextBox1
.Text = str1 & ", " & str2 & ", " & str3
.SelectAll
.Copy
End With
....and you want to copy 'str' to the clipboard, with "I am red" in red
font, "I am yellow" in yellow font, and "I am dark green" in dark green
font?
I feel like I'm missing something obvious...
Thanks!