Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2006

Tip: Looking for answers? Try searching our database.

table cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Maga Circe - 10 Sep 2006 11:27 GMT
I have a document with 1 table composed by2 columns.

How can i write to take all the context for example of the
tables(1).cell(index,2) ?
Helmut Weber - 10 Sep 2006 11:34 GMT
Hi Maga,

like this:

Sub test400()
Dim sTmp As String
sTmp = ActiveDocument.Tables(1).Cell(1, 1).Range.Text
sTmp = Left(sTmp, Len(sTmp) - 2)
' cut off end of cell mark
MsgBox sTmp
End Sub

HTH

Signature

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.