View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
equiangular equiangular is offline
external usenet poster
 
Posts: 67
Default Addpolyline function

How about if I use double?
The code also fails.
The main point is VB should be able to convert variable types on the fly
unless the conversion is not compatible

Juan Pablo González wrote:
And why do you want to have that array as Variant() ? When you create the
array as variant, the coordinates are dimmed as integer, which might be why
the AddPolyline code fails.