R
Ria
Something strange:
I have the following sub:
Sub FormatHTML(oDoc as Document)
dim oTable as Table
For Each oTable In oDoc.Tables
oTable.AllowAutoFit = False
oTable.AllowPageBreaks = True
Next
End Sub
If I run this from VBA then it works the way expected. but if I run this
from my VB application, then the cell widths are not correct.
Does anyone know how to solve this?
Thanx in advance
Ria
I have the following sub:
Sub FormatHTML(oDoc as Document)
dim oTable as Table
For Each oTable In oDoc.Tables
oTable.AllowAutoFit = False
oTable.AllowPageBreaks = True
Next
End Sub
If I run this from VBA then it works the way expected. but if I run this
from my VB application, then the cell widths are not correct.
Does anyone know how to solve this?
Thanx in advance
Ria