Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7655887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:37:46+00:00 2026-05-31T12:37:46+00:00

I have a PowerPoint 2007 slide with two embedded Excel objects. I want to

  • 0

I have a PowerPoint 2007 slide with two embedded Excel objects.
I want to access the sheet1 tab and break all links.
I was trying to copy and paste by value. Although the code runs, it does nothing.

Dim oSl As Slide
Dim oSheet As Object
Dim PPApp As PowerPoint.Application
Dim PPPres As PowerPoint.Presentation
 
For Each oSl In ActivePresentation.Slides
    For Each oSh In oSl.Shapes

        ActiveWindow.View.GotoSlide oSl.SlideIndex
        If oSh.Type = msoEmbeddedOLEObject Then
            oSh.OLEFormat.Activate

            With oSh.OLEFormat.Object
               .Application.Workbooks(1).Worksheets(1).Cells.Copy
               .Application.Workbooks(1).Worksheets(1).Cells.PasteSpecial Paste:=xlPasteValues
            End With

            ActiveWindow.Selection.Unselect
            ActiveWindow.View.GotoSlide oSl.SlideIndex

        End If
    
    Next
    
Next
End Sub
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:37:48+00:00Added an answer on May 31, 2026 at 12:37 pm

    Updated/edited … skip the Application update line, try like so instead:

    If oSh.Type = msoEmbeddedOLEObject Then
        With oSh.OLEFormat.Object   ' added .Object here
            .Activate
            .Application.workbooks(1).worksheets(2).Cells.Copy
            .Application.workbooks(1).worksheets(2).Cells.PasteSpecial Paste:=xlPasteValues
        End With
    End if
    

    First, either define a constant lxPasteValues As Long = -4163 or replace xlPasteValues with -4163 in the code above.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an embedded PowerPoint presentation in an Excel workbook. How can I edit
Hi All, I have an application (windows service/C#) which starts EXCEL and POWERPOINT and
I have a script that opens Powerpoint from my application and exports all slides.
How do I copy a range of cells from Excel to Powerpoint. I want
I have a PowerPoint file with a slide with an image (wmf/emp file) in
I have a PowerPoint template that contains one slide and on that slide is
I have 30 charts that were created from excel and were pasted onto powerpoint
I have a powerpoint pres that grabs some data from an excel sheet when
i have a single powerpoint slide that we use for reporting. This slidehas some
I have a split access 2007 database that has been running fine on a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.