Array problems

F

fdde

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.
 
F

fdde

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top