Share via

Paste shape into notes page fail "The specified data type is unavailable"

Anonymous
2015-04-08T07:17:41+00:00

Hi,

I am trying to use the following code to paste a copied shape into a note page, but it fails with the error "The specified data type is unavailable". It is alright if the clipboard contains texts. Any help is appreciated

    Dim oSlide As Slide

    Dim oShapes As Shapes

    Set oSlide = ActivePresentation.Slides.Item(1).NotesPage.Item(1)

    Set oShapes = oSlide.Shapes

    oShapes.Paste

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-04-08T13:34:18+00:00

Does this work?

    ActiveWindow.ViewType = ppViewNotesPage

    With ActiveWindow.View

    .GotoSlide (1)

    .Paste

    End With

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful