-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
  • 7,249
  • 3
  • 17
  • 19
CJP
  • 15
  • 4

1 Answers1

0

try this code

$squareshape.cells('VerticalAlign') = 0

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

Community
  • 1
  • 1
Surrogate
  • 687
  • 7
  • 11