Thread: [Solved] Creating Word Templates
View Single Post
 
Old 11-25-2016, 05:25 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,143
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

You could prompt for the values using ASK fields and use REF fields to the associated bookmarks to insert the values in your calculation.

Better still you could create a userform with three text fields (or three comboboxes) to collect the three values, which would enable you to provide error handling for inappropriate values, and use the output of the userform to provide the values for your calculations.

At its simplest see - http://www.gmayor.com/Userform.htm and attached template (create a new document from the template).
Attached Files
File Type: dotm Example.dotm (29.5 KB, 14 views)
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote