Share via

Getting access denied error when attempting to set properties in the Format Object in PowerPoint 2007

Anonymous
2011-03-11T19:25:32+00:00

When I attempt to set the .Format.ThreeD.BevelTopType of my Series object I'm getting the following error

      Run-time error – '-2147024891 (80070005)': Access denied. You do not have enough privileges to complete this operation.

I'm trying to reformat a PowerPoint 2007 document. The charts in this presentation are OLEFormat Excel.Chart.8.

Sub FormatChartDataPoints(ByRef oChrt As Object, ByRef oLgnd As Object, ByRef slideGroup As SldGrp)

Dim oSeries As Object 'Data series within a chart

'loop through series in chart

For x = 1 To oChrt.SeriesCollection.Count

Set oSeries = oChrt.SeriesCollection(x)

With oSeries.DataLabels.Font

.Name = StdFont

.FontStyle = StdStyle

.Size = StdSize

End With

oSeries.Format.ThreeD.BevelTopType = msoBevelCircle

Next x 'oChrt.SeriesCollection

Set oSeries = Nothing

End Sub

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

2 answers

Sort by: Most helpful
  1. Anonymous
    2011-03-13T07:35:49+00:00

    Thank you for your reply Chandra.

    I'm running this macro locally so the "server-side Automation" issue that this article describes is not applicable to my situation.

    Any other ideas?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-03-12T10:40:39+00:00

    Refer the link below and check if it helps.

    http://support.microsoft.com/kb/257757

    Was this answer helpful?

    0 comments No comments