>Hilmar,
>
>This is a good idea, I only need it for myself. Thanks,
The idea was to write a UDF in VFP. However, another possibility - if you find an appropriate function in Excel - is to use Automation to pass data to and fro, between VFP and Excel (and evaluate a specific function in Excel, in between). This may give you easy access to all sorts of advanced calculations.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)