I have observed the requirements shared by you and like to share that width and height of the text frame is actually the property of the shape. You can set the width or height of the text frame on Shape level. You can set the text frame height using AutoShapeEx.Width and AutoShapeEx.Height properties.