View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
bwreath[_5_] bwreath[_5_] is offline
external usenet poster
 
Posts: 1
Default array values type mismatch?

Hi,

I would appreciate help with the following.
It's probably something simple but it doesn't make sense
to me.

This line gives me the error

ActiveWorkbook.Worksheets("Sheet1").Cells(y + 1, x + 1).Value
myarray(y, x)


Variable uses an automation type not supported in visual basic.
I get the same error when I trying to do

msgbox myarray(y, x) & " "

I think it has something to do with putting two different types
together but I'm not too sure.

thanks

--
Message posted from http://www.ExcelForum.com