Richard Schollar
MrExcel MVP
- Joined
- Apr 19, 2005
- Messages
- 23,707
Hi All
Given that I have the following UDT:
What is the quickest way for me to enter each element into contiguous cells, eg Range("A1:A5")?
I could write:
But I think (hope) there is a much quicker all-in-one-go way of doing it.
Thanks for any replies.
Given that I have the following UDT:
Code:
Type myString
s1 As String * 100
s2 As String * 100
s3 As String * 100
s4 As String * 100
s5 As String * 100
End Type
What is the quickest way for me to enter each element into contiguous cells, eg Range("A1:A5")?
I could write:
Code:
Range("A1").Value = myString.s1
Range("A2").Value = myString.s2
'etc etc
But I think (hope) there is a much quicker all-in-one-go way of doing it.
Thanks for any replies.