G
Guest
All,
I'm having the following problem:
I'm using vba/vbscript to automate a Powerpoint 2003 document. One of my
slides has a powerpoint "table", and I use vba/vbscript to load text into the
table cells.
If I use Powerpoint in visible mode:
Dim oApp
Set oApp = CreateObject("Powerpoint.Application")
oApp.Visible = True
Dim oPres
Set oPres = oApp.Presentations.Open("test.ppt")
Then Powerpoint automatically readjusts the height of the cells to fit the
content. However, if I use Powerpoint in "hidden" mode:
Dim oApp
Set oApp = CreateObject("Powerpoint.Application")
Dim oPres
Set oPres = oApp.Presentations.Open("test.ppt",,,false)
Then Powerpoint doesn't readjust the cell height to fit the content, and the
rows "run over" each other.
Is there a way to correct this? For example, some method that tells the rows
to re-adjust the height to fit the content?
Many thanks in advance!
Cheers,
Matt Stuehler
I'm having the following problem:
I'm using vba/vbscript to automate a Powerpoint 2003 document. One of my
slides has a powerpoint "table", and I use vba/vbscript to load text into the
table cells.
If I use Powerpoint in visible mode:
Dim oApp
Set oApp = CreateObject("Powerpoint.Application")
oApp.Visible = True
Dim oPres
Set oPres = oApp.Presentations.Open("test.ppt")
Then Powerpoint automatically readjusts the height of the cells to fit the
content. However, if I use Powerpoint in "hidden" mode:
Dim oApp
Set oApp = CreateObject("Powerpoint.Application")
Dim oPres
Set oPres = oApp.Presentations.Open("test.ppt",,,false)
Then Powerpoint doesn't readjust the cell height to fit the content, and the
rows "run over" each other.
Is there a way to correct this? For example, some method that tells the rows
to re-adjust the height to fit the content?
Many thanks in advance!
Cheers,
Matt Stuehler