> I was always confused when to use the set statement.
Set is for objects only. Variables of other datatypes (numbers, strings,
etc.) require it. Once upon a time you had to use Let statements for
non-objects and Set for objects, but those days are behind us and Let is now
implied and no longer required (but allowed).

Signature
HTH,
George
On Apr 9, 12:45 pm, FSt1 <F...@discussions.microsoft.com> wrote:
> hi
> because you defined isfile as a range object. you then Set lsFile =
[quoted text clipped - 42 lines]
>
> - Show quoted text -
Thanks so much! That worked. I was always confused when to use the
set statement.
Dave Peterson - 09 Apr 2008 23:55 GMT
I think you left out something important <bg>.
Variables of other datatypes (numbers, strings, etc.) _do not_ require it.
> > I was always confused when to use the set statement.
>
[quoted text clipped - 57 lines]
> Thanks so much! That worked. I was always confused when to use the
> set statement.

Signature
Dave Peterson
George Nicholson - 11 Apr 2008 16:47 GMT
oops
Well, it was one missing word. and a short one at that. <sheepish grin>

Signature
HTH,
George
>I think you left out something important <bg>.
>
[quoted text clipped - 63 lines]
>> Thanks so much! That worked. I was always confused when to use the
>> set statement.