Copy shapes in word

Is it possible to copy a shape in Word 2010 without resorting to .Select? According to Dev Center the Anchor property returns the shape’s anchoring range. Could that be a way forward? However, the code below returns an error.

Sub createShape()
    Set myShape = ActiveDocument.Shapes.AddShape(msoShapeRectangle, 1, 1, 1, 1)
    myShape.Anchor.Copy
End Sub

Martijn Pieters's user avatar

asked Feb 11, 2013 at 16:09

Fredrik P's user avatar

While it does not seem to be possible to copy a shape without selecting it, it is possible to duplicate a shape without selecting it (which was my reason for wanting to copy it in the first place). The code below gives me what I was looking for:

Sub createShape()
    Set myshape = ActiveDocument.Shapes.AddShape(msoShapeRectangle, 100, 100, 100, 100)
    Set anothershape = myshape.Duplicate
End Sub

answered Feb 11, 2013 at 21:21

Fredrik P's user avatar

Fredrik PFredrik P

6821 gold badge8 silver badges20 bronze badges

1

If you’ve got what you’re looking for then thats great, but you can copy a shape as such by copying the paragraph (or range rather) that the shape is anchored to. For example:

Sub createShape()
   Dim myShape As Shape, myRange As Range

   Set myShape = ActiveDocument.Shapes.AddShape(msoShapeRectangle, 10, 10, 10, 10)
   Set myRange = myShape.Anchor.Paragraphs(1).Range
   myRange.Copy
End Sub

The trouble with this however is that it will copy any text in the paragraph that you have anchored it to or your anchor maybe in a table which can cause strange things to happen.

You can also change the shape to an inline shape after inserting it so it fits with the text and has more obvious range as anchor points have a habit of moving around and being generally unpredictable.

answered Feb 11, 2013 at 22:36

CuberChase's user avatar

CuberChaseCuberChase

4,4305 gold badges33 silver badges52 bronze badges

Word for Microsoft 365 Word 2021 Word 2019 Word 2016 Word 2013 Word 2010 More…Less

Note: The keyboard shortcuts that are described in this article refer to the U.S. keyboard layout. Keys on other layouts might not correspond exactly to the keys on a U.S. keyboard.

For keyboard shortcuts in which you press two or more keys simultaneously, the keys to press are separated by a plus sign (+). For keyboard shortcuts in which you press one key immediately followed by another key, the keys to press are separated by a comma (,).

To do this

Press

Select an object (with text selected inside the object).

Esc

Select an object (with an object selected).

Tab or Shift+Tab until the object you want is selected

Select multiple shapes.

Press and hold Ctrl while you click the shapes

Select multiple shapes with text.

Press and hold Shift while you click the shapes

Open the Selection pane.

Alt+F10

Select a focused item (inside selection pane).

Spacebar or Enter

Cancel selection of a focused item (inside selection pane).

Shift+Enter

Edit text in a textbox.

F2 or Enter after the text box is selected

Edit text in a shape.

F2 or Enter after the shape is selected

Cut selected object.

Ctrl+X

Copy selected object.

Ctrl+C

Paste cut or copied object.

Ctrl+V

Copy formatting only.

Ctrl+Shift+C

Paste formatting only.

Ctrl+Shift+V

Paste special.

Ctrl+Alt+V

Undo the last action.

Ctrl+Z

Redo the last action.

Ctrl+Y

Keyboard shortcuts for use in the Selection pane

To do this

Press

Open the Selection pane.

Alt+F10

Cycle the focus through the different panes.

F6

Move the focus to a single item or group.

Up Arrow or Down Arrow

Move the focus from an item in a group to its parent group.

Left Arrow

Move the focus from a group to the first item in that group.

Right Arrow

Expand a focused group and all its child groups.

* (on numeric keypad only)

Expand a focused group.

+ (on numeric keypad only)

Collapse a focused group.

— (on numeric keypad only)

Move the focus to an item and select it.

Shift+Up Arrow or Shift+Down Arrow

Select a focused item.

Spacebar or Enter

Add another object to the selection.

Shift+Spacebar

Cancel selection of a focused item.

Shift+Enter

Show or hide a focused item.

Ctrl+Shift+S

To do this

Press

Select an object (with text selected inside the object).

ESC

Select an object (with an object selected).

TAB or SHIFT+TAB until the object you want is selected

Select multiple shapes

Press and hold CONTROL while you click the shapes

Select multiple shapes with text

Press and hold SHIFT while you click the shapes

Open the Selection pane.

ALT+F10

Select a focused item (inside selection pane).

SPACEBAR or ENTER

Cancel selection of a focused item (inside selection pane).

SHIFT+ENTER

Edit text in a textbox.

F2 or ENTER after the text box is selected

Edit text in a shape.

F2 or ENTER after the shape is selected

Cut selected object.

CTRL+X

Copy selected object.

CTRL+C

Paste cut or copied object.

CTRL+V

Copy formatting only.

CTRL+SHIFT+C

Paste formatting only.

CTRL+SHIFT+V

Paste special.

CTRL+ALT+V

Undo the last action.

CTRL+Z

Redo the last action.

CTRL+Y

Copy the attributes of a shape

  1. Select the shape with the attributes that you want to copy.

  2. Press CTRL+SHIFT+C to copy the shape attributes.

  3. Press the TAB key or SHIFT+TAB to select the shape or object that you want to copy the attributes to.

  4. Press CTRL+SHIFT+V.

Edit a linked or embedded object

  1. Press SHIFT+TAB to select the object that you want.

  2. Press SHIFT+F10 for the shortcut menu.

  3. Press the DOWN ARROW to select <variable> Object, the ENTER or RIGHT ARROW key to show the secondary menu, and then select Edit.

Insert an object

  1. Press ALT, N, and then J.

  2. Do one of the following.

    • Press DOWN ARROW to select an object type, and then press ENTER to create an object.

    • Press DOWN ARROW twice to select the Create from File tab, and then type the file name of the object that you want to insert or browse to the file.

Insert a SmartArt graphic

  1. Press and release ALT, N, and then M to select SmartArt.

  2. Press the arrow keys to select the type of SmartArt graphic that you want.

  3. Press TAB, and then press the arrow keys to select the SmartArt graphic layout that you want to insert.

  4. Press ENTER.

Insert a Text box

  1. Press and release ALT, N, and then press X.

  2. Press the arrow keys to select the Text box that you want, and then press ENTER.

  3. Type the text that you want.

  4. When you are finished typing and want to switch back to editing text in your document, press ESC.

Insert WordArt

  1. Press and release ALT, N, and then W to select WordArt.

  2. Press the arrow keys to select the WordArt style that you want, and then press ENTER.

  3. Type the text that you want.

  4. Press ESC.

Select a shape

Note: If your cursor is within text, press ESC.

  • TAB to cycle forward (or SHIFT+TAB to cycle backward) through the shapes or objects until sizing handles appear on the object that you want to select.

Keyboard shortcuts for use in the Selection pane

To do this

Press

Open the Selection pane.

ALT+F10

Cycle the focus through the different panes.

F6

Display the context menu.

SHIFT+F10

Move the focus to a single item or group.

UP ARROW or DOWN ARROW

Move the focus from an item in a group to its parent group.

LEFT ARROW

Move the focus from a group to the first item in that group.

RIGHT ARROW

Expand a focused group and all its child groups.

* (on numeric keypad only)

Expand a focused group.

+ (on numeric keypad only)

Collapse a focused group.

— (on numeric keypad only)

Move the focus to an item and select it.

SHIFT+UP ARROW or SHIFT+DOWN ARROW

Select a focused item.

SPACEBAR or ENTER

Add another object to the selection.

SHIFT+SPACEBAR

Cancel selection of a focused item.

SHIFT+ENTER

Show or hide a focused item.

CTRL+SHIFT+S

Edit points in shape

Note: Click the shape, and then press ALT+J+D+E+E.

  • To add a point, click the shape outline while pressing CTRL.

  • To delete a point, click the point while pressing CTRL.

  • To have the point treated as a smooth point, press SHIFT while dragging either of the handles attached to the point. Once you stop dragging, the point will be changed to a smooth point. A smooth point joins two line segments of equal length.

  • To have the point treated as a straight point, press CTRL while dragging either of the handles attached to the point. Once you stop dragging the point will be changed to a straight point. A straight point joins two line segments of different lengths.

  • To have the point treated as a corner point, press ALT while dragging either of the handles attached to the point. Once you stop dragging the point will be changed to a corner point. A corner point joins two line segments with one segment going off in a different direction.

  • To cancel the change to the point and line segments, press ESC before releasing the mouse button.

For keyboard shortcuts for working with SmartArt graphics, see Keyboard shortcuts for SmartArt graphics.

Need more help?

While Microsoft Word allows you to simply set up a replica of a piece of white copy paper and begin typing in a fashion similar to a typewriter, it is Word’s text box feature that really makes documents come alive. Unlike more robust desktop publishing or graphics programs, you’re only able to move, rotate, shade, and distort text in Word from within a text box. You can also fill text boxes with Word’s collection of shapes – such as stars, bursts and banners – as well as copy existing shapes from within those text boxes. Copying shapes lets you create a theme within your document without starting from scratch each time.

  1. Open Microsoft Word. Click the «File» tab. Click «Open.» Browse to the document with the text box and shapes to copy and double-click the file name.

  2. Scroll to where the first text box with a shape to copy is in the document. Press «Page Down» or the «Down» cursor key to move quickly through the document. Use the zoom slider in the screen’s bottom-right corner or the View tab’s «Zoom» button if the text box and shapes are too small to comfortably view.

  3. Click a shape within the text box to select it. The shape is selected when it has a border around it.

  4. Press «Ctrl-C” on the keyboard to copy the shape from the text box.

Written by Allen Wyatt (last updated March 27, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


Leslie prepares charts in Excel, adding shapes from the drawing tools. He would like to copy the charts to a Word document, but only some of the shapes are copied. He wonders why some of the shapes get left uncopied and how he can «flatten» the chart so that everything is copied.

Let’s assume for a moment that your chart is inserted in your worksheet, as an object. In this case, the behavior you describe is actually normal. You see, shapes can be associated with either your chart or with your worksheet. If they are associated with the chart, then when you copy the chart to the Word document, the shapes associated with the chart are also copied. If they are associated with the worksheet, then they are not automatically copied with the chart.

Excel associates a shape with either the chart or the worksheet depending on what was selected when you chose to insert the shape. If the chart was selected just prior to inserting the shape, then it will be associated with the chart. If a cell in the worksheet was selected, then the inserted shape is associated with the worksheet—even if you later move the shape to be over the top of the chart.

In order to copy the chart and all the shapes, you have two options. First, you could select a shape that won’t copy, press Ctrl+X to cut it to the Clipboard, click once on the chart to select it, and then press Ctrl+V to paste it. The shape is now associated with the chart. You can repeat this for each misbehaving shape, and subsequently copying the chart to the Word document should copy all the desired shapes, as well.

The second option is to leave all your shapes where they are and simply group them together. Click once on one of the shapes to select it, then hold down the Ctrl key as you click on each of the other shapes, in turn. With the Ctrl key still pressed, click on the chart, as well. Now right-click on one of the selected shapes and, from the resulting Context menu, choose Group | Group. You can then copy the entire group (the chart and all the shapes) to the Word document.

The approaches discussed so far allow the chart and shapes to still be treated as objects when they are copied into your Word document. If, instead, you want to insert a picture of the chart and shapes (i.e., to «flatten» the image, as you noted), then you have a few options.

First, you could use the Snipping tool which is included in Windows. It allows you to grab a portion of the screen as a picture in the Clipboard. You can then paste it into Word very easily. Second, you could use some of the grabbing tools provided in Word. With your document open, display the Insert tab of the ribbon. You can then use the Screenshot tool (in the Illustrations group) to insert an entire screenshot of the Excel worksheet or you can use the Screen Clipping option to insert just a portion of the screen.

Finally, you could also use a third-party screen-shot grabber, such as SnagIt from Techsmith. These stand-alone tools provide great capabilities to grab all or part of a screen and either save it to disk or copy it directly to a document.

ExcelTips is your source for cost-effective Microsoft Excel training.
This tip (9988) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365.

Author Bio

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. Learn more about Allen…

MORE FROM ALLEN

Limiting Searching to a Column

When you use Find and Replace, Excel normally looks through all the cells in a worksheet. You may want to limit the …

Discover More

Item Not Available in Library

When sharing workbooks with others, you may find that the macros in those workbooks may not work as you expect. This tip …

Discover More

Combining Word Documents

At some point you may want to insert one Word document inside another Word document. An easy way to do this is to use the …

Discover More

On the Insert tab, click Shapes. Click the shape you want, click anywhere in the workspace, and then drag to place the shape. To create a perfect square or circle (or constrain the dimensions of other shapes), press and hold Shift while you drag.

Contents

  • 1 Why can’t I insert Shapes in Word?
  • 2 How do you insert Shapes in Word Online?
  • 3 How do you draw Shapes in Word?
  • 4 Where is shape fill in Word?
  • 5 How do I insert a shape in Word for Mac?
  • 6 What is Shapes in MS Word?
  • 7 Can you make custom shapes in Word?
  • 8 How do you insert a square box in Word?
  • 9 What are the steps to insert the shape?
  • 10 What is free form shapes?
  • 11 Where is the Draw tool in Word?
  • 12 Can I draw on Microsoft Word?
  • 13 Where is the Shapes button on Mac?
  • 14 How do I copy and paste a shape in Word?
  • 15 Which types of shapes are available in MS Word?
  • 16 How do I insert a 2×2 box in Word?
  • 17 How do I create a fill in box in Word?

Why can’t I insert Shapes in Word?

As the issue occurs with specific document, you may recreate the document then save it in a different name. Then reopen the new document and check if the ‘Insert > Shapes’ option is enabled. To create an instance of document, click on the ‘View’ tab > click on ‘New Window’ under ‘Window’ group.

How do you insert Shapes in Word Online?

Adding shapes in Word Online

  1. To add a shape to your document:
  2. Click “Insert” tab.
  3. Click on “Shapes”
  4. Select shape and then insert.

How do you draw Shapes in Word?

Click in your document where you want to create the drawing. On the Insert tab, in the Illustrations group, click Shapes. When you find the shape you want to insert, double-click to insert it automatically, or click and drag to draw it in your document.

Where is shape fill in Word?

Changing The Fill Of A Shape In Word
Click Insert > Illustrations > Shapes. Choose any shape you like and draw it on the page (click and drag). Here, I drew a basic rectangle. To change the shape’s fill, ensure that it is selected and then in the Drawing Tools contextual tab, click Shape Styles > Shape Fill.

How do I insert a shape in Word for Mac?

In a Microsoft Word document, click on the Insert menu > Shapes. Once you select a shape, your cursor becomes a crosshairs, which you can use to draw a shape onto your document.

What is Shapes in MS Word?

More Information. A SHAPE field is the Drawing Canvas and is similar to a placeholder, which is automatically created for any drawn picture. Drawn pictures (also called vector drawings) are created from lines, curves, rectangles, and other objects. AutoShapes are drawn pictures.

Can you make custom shapes in Word?

Create custom shape
Open the Microsoft Word document that you want to insert the custom shape in.Select the image and insert it into the document. Select the image in the document, and go to the Graphics Format tab on the ribbon. On the Graphics Format tab, select ‘Convert to Shape’.

How do you insert a square box in Word?

Add a text box

  1. Go to Insert > Text Box, and then select Draw Text Box.
  2. Click or tap in the document, and drag to draw the text box the size that you want.
  3. To add text to a text box, select inside the text box, and then type or paste text. Notes:

What are the steps to insert the shape?

To insert a shape:

  1. Select the Insert tab.
  2. Click the Shapes command. The Shape command.
  3. Select a shape from the drop-down menu.
  4. Click and drag the mouse until the shape is the desired size. Creating a new shape.
  5. Release the mouse button.

What is free form shapes?

Freeform Shapes – also called organic shapes, are irregular and uneven shapes. Their outlines may be curved, angular, or a combination of both. Form – an element of art, means objects that have three dimensions.

Where is the Draw tool in Word?

Adding the Draw tab to the Ribbon

  1. Right-click the Ribbon and select Customize the Ribbon.
  2. Check the box next to Draw, then click OK.
  3. The Draw tab will now be available in the Ribbon.

Can I draw on Microsoft Word?

You can draw freely in Microsoft Word using the “Draw” feature whether you have Word for Mac or Windows. You can also insert customizable shapes into your document, or draw using the “Scribble” feature. The process of drawing in Word varies based on which version of Word and device you’re using.

Where is the Shapes button on Mac?

On your Mac, click the Shape button , then choose a shape. On your iPhone, iPad, or iPod touch, tap the Insert button , then tap the Shapes button . Tap a shape. , then choose a shape.

How do I copy and paste a shape in Word?

After clicking on the first shape to select it, press and hold down the “Ctrl” key on the keyboard. Click the additional shapes within the text box, then press the “C” key. Release both keys and the shapes are copied.

Which types of shapes are available in MS Word?

MS Word contains many different types of shapes such as boxes, rectangles, callouts, circles, arrows, lines, triangles, curves, equations shapes, and many more. Once the shape is added, you can modify it by changing features like color, style format, size, outline, etc.

How do I insert a 2×2 box in Word?

Click the Insert tab and then click Pictures. Select the photo that you want to turn into a 2×2 picture. Click the Insert button to insert the picture into your Word document. You can also copy the picture (Ctrl + C) and paste it into your Word document (Ctrl + V).

How do I create a fill in box in Word?

Creating Fillable Forms Using Microsoft Word

  1. Enable Developer Tab. Open Microsoft Word, then go to the File Tab > Options > Customize Ribbon > check the Developer Tab in the right column > Click OK.
  2. Insert a Control.
  3. Edit Filler Text.
  4. Design Mode button again to exit the mode.
  5. Customize Content Controls.

Понравилась статья? Поделить с друзьями:
  • Copy range excel macro
  • Copy range and paste in excel vba
  • Copy picture from word
  • Copy paste word table
  • Copy paste to word not working