Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2018, 10:33 PM
tms_admin tms_admin is offline Help to use VBScript to total numbers from multiple tables Windows 10 Help to use VBScript to total numbers from multiple tables Office 2016
Novice
Help to use VBScript to total numbers from multiple tables
 
Join Date: Oct 2018
Posts: 2
tms_admin is on a distinguished road
Default Help to use VBScript to total numbers from multiple tables


Hi MS forums,

I am hoping a VB wiz in the forum group can help me with my requirements. My teaching team will be using numbers for a new style of marking schema. To save errors in basic sums I wanted to use VBScript to auto generate cals. The preferred work flow for the teachers is to use Word and then transfer the overall dimensions (grades) to Excel.

I can get the code to calculate one table but hoping to see if someone can help me work out how to get multiple sums from multiple tables. In this case, transfer (to pp3) of two assessment dimensions and then an overall sum (pp3) of both, all without integrating Excel etc.

Thanks in advance if you can help, Brendan
Attached Files
File Type: docm CALCULATOR.docm (49.9 KB, 15 views)
Reply With Quote
  #2  
Old 10-31-2018, 08:20 PM
macropod's Avatar
macropod macropod is offline Help to use VBScript to total numbers from multiple tables Windows 7 64bit Help to use VBScript to total numbers from multiple tables Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,369
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

This would be simpler to do if you replaced the input content controls with formfields and, instead of the calculation content controls, formula fields. No macros required. See attached.
Attached Files
File Type: docx CALCULATOR.docx (41.7 KB, 12 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 11-07-2018, 10:56 PM
tms_admin tms_admin is offline Help to use VBScript to total numbers from multiple tables Windows 10 Help to use VBScript to total numbers from multiple tables Office 2016
Novice
Help to use VBScript to total numbers from multiple tables
 
Join Date: Oct 2018
Posts: 2
tms_admin is on a distinguished road
Default

Thanks for the feedback Paul, I ended up moving onto Acrobat using JavaScript and check-boxes, it works a treat. I can also easily constrain max/min sums etc and export to csv. Cheers
Reply With Quote
Reply

Tags
count sum tables



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help to use VBScript to total numbers from multiple tables Inventory-Trying to add numbers to a total based on the numbers above. beeker223 Excel 13 07-17-2017 11:12 AM
Help to use VBScript to total numbers from multiple tables Calculating multiple fields to calculate to the total hours stewbinson Excel 1 01-22-2017 10:18 PM
Help to use VBScript to total numbers from multiple tables 30 Day Running or Rolling total (Multiple Sheets/Workbooks) HelicopterChick Excel 3 08-23-2016 04:52 AM
Help to use VBScript to total numbers from multiple tables Calculating the “total” based on “salary” value and its “type” (multiple IF), Jamal NUMAN Excel 4 07-05-2016 12:34 AM
Help to use VBScript to total numbers from multiple tables ordered numbers in word tables? jerped Word 1 08-12-2013 05:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:15 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