Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Calculated Fields
Hi,
Recently I started using calculated fields in word extensively. I write a lot of technical documents with a lot of calculation in them. Since all calculations are chain-like I am assigning values to variables and then use them. At the end of the document I end up with more than 100 variables which are difficult to track. So my question is how can I track my variables in Word (something like a panel where I can see them)? Is there any other efficient, or cleverer, way to complete my task? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Calculated Fields
The following macro list all the docvariables with their values
Sub ShowVariables() Dim oVar As Variable Dim sText As String sText = "" For Each oVar In ActiveDocument.Variables sText = sText & oVar.name & vbTab & oVar.Value & vbCr Next oVar MsgBox sText End Sub http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org "Jim" wrote in message ... Hi, Recently I started using calculated fields in word extensively. I write a lot of technical documents with a lot of calculation in them. Since all calculations are chain-like I am assigning values to variables and then use them. At the end of the document I end up with more than 100 variables which are difficult to track. So my question is how can I track my variables in Word (something like a panel where I can see them)? Is there any other efficient, or cleverer, way to complete my task? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Calculated Fields | Microsoft Word Help | |||
Calculated fields in Word forms | Microsoft Word Help | |||
Calculated fields | Microsoft Word Help | |||
Calculated Fields | Microsoft Word Help | |||
Calculated fields are doubled. | Mailmerge |