-2

I'm having problems with the second line below. How can I use PowerShell to align the shape text?

$squareshape.text = "abc";
$squareshape.align.top;
saveenr
  • 8,439
  • 3
  • 19
  • 20
CJP
  • 15
  • 4

1 Answers1

0

try this code

$squareshape.cells('VerticalAlign') = 0

$squareshape.cells('Para.HorzAlign') = 0

Community
  • 1
  • 1
Surrogate
  • 1,466
  • 2
  • 11
  • 13