![]() |
#1
|
|||
|
|||
![]()
I have played with VBA in Excel and, got alit okay with it but knowing what I don’t know, I know that I need to ask for help.
I have skulked around the interwebs and found how to insert a shape in the current document - ActiveDocument.Shapes.AddShape msoFreeForm Left, Top, 300, 30What I would like to ask is how to adjust the code to insert the shape at the current cursor location within the document? Thinking that would eliminate the Left, Top coordinates ( ! yay ). Now for the fun stuff... how do I change the fill and line colors of the shape? And here's the tricky stuff... how do I add a 2x1 table inside of the shape just inserted, adjust the width of and vertically center align ( text for ) the first cell. Probably one of the more odd asks, but want to say thanks in advance for the help. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
zillah | Word | 2 | 11-14-2019 03:27 AM |
Add a macro to a shape | guest_gast | Word VBA | 12 | 07-07-2018 02:20 AM |
Assign Macro to Shape in Word 2013 | tunes10590 | Word VBA | 8 | 01-29-2015 06:26 AM |
![]() |
rdy4trvl | Drawing and Graphics | 5 | 09-16-2012 08:12 AM |
Run Macro & Activate shape | ibrahimaa | Excel Programming | 1 | 01-21-2012 02:14 AM |