View Single Post
 
Old 08-07-2022, 06:23 PM
littlepeaks littlepeaks is offline Windows 10 Office 2010 32bit
Novice
 
Join Date: Jan 2012
Location: Colorado Springs, CO
Posts: 16
littlepeaks is on a distinguished road
Default

Never mind-- I opened up the VBA editor in Word , and looked up "Tables" in the "Help", "Word Object Model Reference". It told me what I wanted to know.


Basically I can use:


strLabelText = ActiveDocument.Tables(1).Cell(1,1).Range.Text 'Copies the text
ActiveDocument.Tables(1).Cell(2,1).Range.Text= strLabelText 'Pastes the text into the cell below


This requires a lot more coding and cleaning up, but I could not figure out how to access the table. I have something to work with now.


Thanks again.
Reply With Quote