D
Don
I am reading the data from a range into a variant in order to speed up
subsequent calculations. The problem is that I want to load additional data
from the end of the range into that variant. Here is my code:
Function myfunction(rng1 As Range) As String
Dim tmp_Rng1 As Variant
temp_rng1 = rng1
For example, if rng1=a1:a200 I want to add the data contained in a201 to
a220 to the end of temp_rng1. So temp_rng1 would contain all the data from
a1:a220.
I'm pretty weak on VBA, but I would guess this is pretty simple for someone
who is savvy.
Thanks,
Don
subsequent calculations. The problem is that I want to load additional data
from the end of the range into that variant. Here is my code:
Function myfunction(rng1 As Range) As String
Dim tmp_Rng1 As Variant
temp_rng1 = rng1
For example, if rng1=a1:a200 I want to add the data contained in a201 to
a220 to the end of temp_rng1. So temp_rng1 would contain all the data from
a1:a220.
I'm pretty weak on VBA, but I would guess this is pretty simple for someone
who is savvy.
Thanks,
Don