Hi,

I have a weird problem. The Macro I have written uses variants in order to
return arrays (For compatability with Word 95). This works fine on both Word
2000 and Word 95 but not on a Macintosh Machine. I get the error 'Cannot
assign to array' on the Mac.

Can somebody help me with this?

Thanks a lot.

Re: Array problems by fdde

fdde
Tue Aug 03 02:16:33 CDT 2004

My question was pretty stupid. But, still, for those you would like an
answer to it...here's what I did wrong:
I declared the array as dim Splitter()as variant but it should have been dim
Splitter as variant.

Also, I have another question (this one is more brain intensive!)

On a Mac, I would have to say .font.color=0 (to find black font) and on the
PC, it works only when I say .font.colorindex=0. Does anybody know why?

"fdde" <sdsad@fsd.com> wrote in message
news:ePn1oLReEHA.384@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I have a weird problem. The Macro I have written uses variants in order to
> return arrays (For compatability with Word 95). This works fine on both
Word
> 2000 and Word 95 but not on a Macintosh Machine. I get the error 'Cannot
> assign to array' on the Mac.
>
> Can somebody help me with this?
>
> Thanks a lot.
>
>
>