View Single Post
 
Old 12-14-2016, 05:00 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Father View Post
Question: It looks like you added to the original macro I was using from this example. Why did you need to do that?
To make it work with your document...
Quote:
Originally Posted by Father View Post
It works as far as giving the option to add a row... but the calculations no longer work. On Exit from the field that has the add row function the field in the next cell should calculate the product of QTY and N.E.W. What causes this not to work now??
Somehow a typo crept into the field code for the calculation for the 'TOTAL N.E.W.' column. If you toggle the field code siplay 'on' you'll see {=UXOQTY03*EUXONEW03}; it should read {=UXOQTY03*UXONEW03}. Fix that and the calculations should work OK.
Quote:
Originally Posted by Father View Post
When I copy the new macro code to my form with the calculation properties in the field it no longer gives the option to add a row.
You would need to copy both the table and the code. The table in my attachment has a separate column for the lbs. so the optional additional material definition can more easily be handled. Compare tables 9a & 9b.
Quote:
Originally Posted by Father View Post
Would doing this as a PDF form allow for more options? It's starting to seem like what I want is too much for Word to handle.
I doubt it - especially when it comes to adding new material definitions & table rows. This is well within Word's capability.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote