G
Guest
Question 1:
If I have text in cell A1 and I use;
Range("A1").Copy
the text in A1 followed by an end-of-line (0Dh 0Ah) is copied to the
clipboard. How can I copy the text without the end-of-line?
Question 2:
I have a variable of type string. Is there any way to copy that to the
clipboard without having to place it in a cell first. The following code
does not work but should indicate what I am trying to do:
Dim s as String
s = "ABC"
s.Copy
Many thanks.
If I have text in cell A1 and I use;
Range("A1").Copy
the text in A1 followed by an end-of-line (0Dh 0Ah) is copied to the
clipboard. How can I copy the text without the end-of-line?
Question 2:
I have a variable of type string. Is there any way to copy that to the
clipboard without having to place it in a cell first. The following code
does not work but should indicate what I am trying to do:
Dim s as String
s = "ABC"
s.Copy
Many thanks.