If you want a macro to return a value, you need to do it via the document.
In excel for example, you could set a cell to "=somefunction(value)". Then after setting this, Excel will execute the function (which may be a macro in which case you may need to include the Execl file reference - PERSONL.XLS$ etc.) and update the value.
You then go back and read the cell.Value to get the result.
In Word I would imagine it's similar, but you'd probable be best working within a cell of a table to make referencing easier, or use a field function or whatever. Like I said, less experience in Word.
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)