Question: Split or breakup of complex expressions or formulas

Hi, I have a system of 3 coupled equations (3 unknowns) with complex numbers. I solved them with solvefor. I'm interested in the modulus (|a+ib|^2 = a^2 + b^2 ) and phase of each solution. Because of that I used polar and abs (I have more interest in the modulus). In each case I ran simplify, despite of that the solutions are huge. I would like to work with them in some spreadsheet (in order to set the parameters, evaluate the solutions, compare them with some experimental data and do some plotting). Given that the solutions are huge I can just write them by hand where I want. In order to automatize that I've tried to use the VisualBasic command to cut&paste the formulas in VBA. The problem is that they are so long that the source code just gets broken. Given an expression, my questions are: - How can I break it up in some kind of procedure, with some temporary intermediate variables? - Is there any way to generate an spreadsheet expression (I can generate Java, C, Fortran, VB)? - Is there any other way to attack the problem? I'd be happy if I have a formula reading some cells (the parameters) where each expression gets evaluted (with absolute references to the parameters!). Thanks in advance.
Please Wait...