Hi Cindy,
I would like to know if a table extends outside the page margins and if so
set the section in which the table is positioned in landscape mode (if it
wasn't already).
Upto now (been playing around with it) I came up with... (have to put
everything into comment because of paranoid firewall, sorry for that)
'Sub test()
' Dim tbl As Table
' Dim tblColumn As Column
' Dim tblWidth As Integer
'
' tblWidth = 0
'
' For Each tbl In ActiveDocument.Content
' For Each tblColumn In tbl.Columns
' tblWidth = tblWidth + tblColumn.Width
' Next clm
' If tblWidth > ActiveDocument.PageSetup.PageWidth Then
' 'stuck here
' End If
' tblWidth = 0
' Next tbl
'
'End Sub
Kind regards,
rVo