Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50117

Adding Text to a Shape with VBA

$
0
0
I have a Shape (rounded rectangle) that I want to add text, then edit the text via VBA. When I record a macro doing this, the closest I can come is code that copies new text from a cell and then selects a cell (probably where the upper left corner of the shape is located), followed by ActiveSheet.Paste. But this is too inaccurate. I want to name the shape and then control the text.

Viewing all articles
Browse latest Browse all 50117