Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2013, 07:47 AM
pargoooo pargoooo is offline Dynamic Text in Word Windows 7 64bit Dynamic Text in Word Office 2010 64bit
Novice
Dynamic Text in Word
 
Join Date: Aug 2013
Posts: 1
pargoooo is on a distinguished road
Default Dynamic Text in Word

Hi, I'm using Word 2010 and am wondering if it is possible to have certain text in my document change depending the result of a mathematical function that is based on two numbers on the page.



I.E. If I have number A and number B I want a specific section of text to say "Positive" if A - B > 0 and I want it to change to say "Negative" if A - B < 0.

I would like it to do this automatically (without any sort of input from the user, almost how excel cells update automatically).

I'm familiar with VBA, especially for Excel but have never used it in Word.
Reply With Quote
  #2  
Old 08-22-2013, 09:12 AM
Charles Kenyon Charles Kenyon is offline Dynamic Text in Word Windows Vista Dynamic Text in Word Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,529
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Yes. Your criteria text needs to be bookmarked. An easy way to do this is to put it in a legacy protected form field and protect your documents for forms. If you do that and mark the option in the field to "calculate on exit" you can use an IF field to do your test and display your results.

It is not as easy as in Excel, but can be done.

IF fields

Making Forms with Microsoft Word
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Text in Word Insert a picture into word using DDE (Dynamic Data Exchange) sasdde Word VBA 5 06-21-2013 01:21 AM
Dynamic Text in Word Embedding Dynamic Elements in a Word Document Kerry Word 3 01-13-2012 03:51 PM
Dynamic linking of text? mn1247 Word 1 10-08-2011 03:14 AM
Dynamic Text in Word Dynamic Charts TryingToHaveFun Excel 2 02-06-2011 11:01 AM
Dynamic Named Ranges using text hannu Excel 0 06-22-2010 04:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:50 AM.


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