Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2015, 04:20 PM
Eduardo Care Eduardo Care is offline Auto update in formula/Obtain the name of the cell Windows XP Auto update in formula/Obtain the name of the cell Office 2007
Advanced Beginner
Auto update in formula/Obtain the name of the cell
 
Join Date: Aug 2015
Location: Cali
Posts: 32
Eduardo Care is on a distinguished road
Default Auto update in formula/Obtain the name of the cell

I have been adding simple operations into some of my documents, and i realize that word does not auto update my fields when i change the values from a table, the results of an operation remains with the old value.

Is there any option to auto update this fields in order to allow someone to fill a document and the results of an operation will constantly update as the person fill the table?




__________________________________________________ ________



In order to don't open 2 threads i will ask here if anyone knows a way to know whats the name of a cell in a table im in, since i have a messy document with a lot of separations and added tables inside tables.



Thanks in advance for any information of any of the 2 answer im sharing with you people.
Reply With Quote
  #2  
Old 08-25-2015, 05:57 AM
macropod's Avatar
macropod macropod is offline Auto update in formula/Obtain the name of the cell Windows 7 64bit Auto update in formula/Obtain the name of the cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

It appears your table uses formfields, in which case setting their 'calculate on exit' property will cause all of the calculations to update immediately you exit any of those fields. If you're not using formfields, selecting the table and pressing F9 will update all the calculations, or you could use content-controls in conjunction with a content-control on-exit macro.

As for getting cell addresses, the simplest way is to select the cell(s), then run the following macro, which outputs the range on Word's status bar:
Code:
Sub CellRange()
Dim StrAddr As String
' This macro displays the address of a table's selected cell range
' and the table's last cell address on Word's Status Bar
With Selection
  If .Information(wdWithInTable) = True Then
    StrAddr = "The selected "
    If .Cells.Count = 1 Then
      StrAddr = StrAddr & "cell address is: "
    Else
      StrAddr = StrAddr & "cells span: "
    End If
    StrAddr = StrAddr & ColAddr(.Cells(1).ColumnIndex) & .Cells(1).RowIndex
    If .Cells.Count > 1 Then
      StrAddr = StrAddr & ":" & ColAddr(.Characters.Last.Cells(1).ColumnIndex) & _
        .Characters.Last.Cells(1).RowIndex
    End If
    With .Tables(1).Range
    StrAddr = StrAddr & ". The table's last cell is at: " & _
      ColAddr(.Cells(.Cells.Count).ColumnIndex) & .Cells(.Cells.Count).RowIndex
    End With
      StatusBar = StrAddr
    Else
      StatusBar = "The selection is not in a table!"
  End If
End With
End Sub
Function ColAddr(i As Long) As String
If i > 26 Then
  ColAddr = Chr(64 + Int(i / 26)) & Chr(64 + (i Mod 26))
Else
  ColAddr = Chr(64 + i)
End If
End Function
For macro installation & usage instructions, see: http://www.gmayor.com/installing_macro.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 08-26-2015, 04:45 PM
Eduardo Care Eduardo Care is offline Auto update in formula/Obtain the name of the cell Windows 8 Auto update in formula/Obtain the name of the cell Office 2010 64bit
Advanced Beginner
Auto update in formula/Obtain the name of the cell
 
Join Date: Aug 2015
Location: Cali
Posts: 32
Eduardo Care is on a distinguished road
Default

Thanks alot Paul, i finally finish the document last version and it works perfectly, i just discover some weeks ago how useful word can be c: have a nice day men.
Reply With Quote
Reply

Tags
autoupdate, localize a cell name



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto update in formula/Obtain the name of the cell Auto update date mavisyew Word 2 07-15-2015 08:44 AM
Auto update in formula/Obtain the name of the cell I want to use formula to auto update cells with information Steve81uk Excel 15 01-09-2015 12:58 PM
Change formula cell range based on cell value Scoth Excel 4 10-25-2012 07:51 AM
Project Auto-Update hB-sys Project 0 04-15-2010 06:46 AM
Auto-populate an MS Word table cell with text from a diff cell? dreamrthts Word Tables 0 03-20-2009 01:49 PM

Other Forums: Access Forums

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


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