Skip to main content
Known Participant
March 17, 2009
Question

whi doesn't work vertical justification

  • March 17, 2009
  • 1 reply
  • 366 views
Who knows, pls?
i need to have "VerticalJustification by Center" in whole table.
So i have this line:

myTable.Cells.Item(i).VerticalJustification = VerticalJustification.idCenterAlign

but InDi-VBA stopes and writes "Object required". Why?

And the very similar line works properly:
myTable.Cells.Item(i).Texts.Item(1).PointSize = 5.6

Thanks
This topic has been closed for replies.

1 reply

Known Participant
March 17, 2009
Hi Dmitry1776,

You need:

idVerticalJustification.idCenterAlign

Thanks,

Ole