Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 12-14-2016, 05:00 PM
macropod's Avatar
macropod macropod is offline Expanding tables with calculating form fields? Windows 7 64bit Expanding tables with calculating form fields? 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
 

Tags
calculating values, expanding table, form fields



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to keep formatted form fields after mail merge or replace text with formatted form fields jer85 Word VBA 2 04-05-2015 10:00 PM
Expanding tables with calculating form fields? Tables with form fields step10 Word 18 11-12-2013 02:27 PM
Enable editing in expanding fields marweste Word 11 10-21-2013 07:41 AM
How to prevent Tables from expanding HappyFingers Word 1 11-29-2010 01:54 PM
Calculating Form Fields in Microsoft Word wubba80 Word 1 06-25-2010 12:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft