Documents.Open (dir1 &
"ausstattung.docx"
)
For
Each
aCell
In
ActiveDocument.Tables(1).Columns(1).Cells
Set
ausst_range = aCell.Range
ausst_range.MoveEnd Unit:=wdCharacter, Count:=-1
ListBox2.AddItem (ausst_range.Text)
Next
aCell
For
Each
aCell
In
ActiveDocument.Tables(2).Columns(1).Cells
Set
ausst_range = aCell.Range
ausst_range.MoveEnd Unit:=wdCharacter, Count:=-1
ListBox3.AddItem (ausst_range.Text)
Next
aCell
For
Each
aCell
In
ActiveDocument.Tables(3).Columns(1).Cells
Set
ausst_range = aCell.Range
ausst_range.MoveEnd Unit:=wdCharacter, Count:=-1
ListBox4.AddItem (ausst_range.Text)
Next
aCell
ActiveDocument.Close