Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

visual basic macro works in Excel but not in Calc

The compiler complains about a syntax error at the last line of this code snippet For I = 1 To M + 2 A(I, KP + 1) = -A(I, KP + 1) Next I

It has been running just fine in Excel.

visual basic macro works in Excel but not in Calc

The compiler complains about a syntax error at the last line of this code snippet For I = 1 To M + 2 A(I, KP + 1) = -A(I, KP + 1) Next I

I Even when I comment it out, it still stops there and complains. It has been running just fine in Excel.