Thread: Table Cells
View Single Post
  #6   Report Post  
Posted to microsoft.public.word.newusers
Ross from Orlando[_2_] Ross from Orlando[_2_] is offline
external usenet poster
 
Posts: 3
Default Table Cells

On Jan 8, 10:36*pm, "macropod" wrote:
Hi Ross,

The following macro works in Word 2007 too:

Sub CellAddress()
'This macro displays the address of a table cell on Word's status bar
If Selection.Information(wdWithInTable) = True Then
* If Selection.Cells(1).ColumnIndex 26 Then
* * StatusBar = "Cell Address: " & Chr(64 + Int(Selection.Cells(1).ColumnIndex / 26)) & _
* * Chr(64 + (Selection.Cells(1).ColumnIndex Mod 26)) & Selection.Cells(1).RowIndex
* Else
* * StatusBar = "Cell Address: " & Chr(64 + Selection.Cells(1).ColumnIndex) & _
* * Selection.Cells(1).RowIndex
* End If
End If
End Sub

--
Cheers
macropod
[Microsoft MVP - Word]

"Ross from Orlando" wrote in ...



In Word 2007, is there a quick way to determine what table cell you
the insertion point is in? I have a vague recolleciton of a feature to
do this in earlier versions of Word. Thanks,


Ross- Hide quoted text -


- Show quoted text -


Well, I figured this out, and the long and the short of it is that
both macros work. Thanks,

Ross