E
Eivind
I have written some VB code as an addin for Excel 2003, which works fine on
my computer. When transferring the code to a colleague, I get all sorts of
error messages, even if he also uses Excel 2003. It seems that the VB
compiler on my colleagues computer insists that all variables has to be
declared. Furthermore, on his computer references as cells(i,j).value gives a
type mismatch diagnostic when the cell is empty. And
Application.WorksheetFunction.Sum(range) gives an error if some of the cells
in range are empty. What can be the explanation for these differences? Any
suggestions? Thanks!
my computer. When transferring the code to a colleague, I get all sorts of
error messages, even if he also uses Excel 2003. It seems that the VB
compiler on my colleagues computer insists that all variables has to be
declared. Furthermore, on his computer references as cells(i,j).value gives a
type mismatch diagnostic when the cell is empty. And
Application.WorksheetFunction.Sum(range) gives an error if some of the cells
in range are empty. What can be the explanation for these differences? Any
suggestions? Thanks!