What macro are you refering to, VFP or Excel? Can you provide more details?
>In the meantime I've discovered that the macro works diffrently from the exe.
>
>>I forgot to tell that I use a macro expression.
>>
>>>My guess is that SET DELETED is OFF in one and ON in the other.
>>>
>>>>Hi,
>>>>why does an exe application give a different result from the application run from within vfp? It is a simple export to excel but the figures I got from the exe are completely diffrent from those given by the application run by vfp.
--sb--