Excited by the fact that VBA returned to Mac, but having trouble with code that works fine in Powerpoint 2007 for Windows (giving me a "Compile Error: User-defined type not defined" at the commented statement below):
Private Function m_CreateStackedChart(SourceData As Excel.Range) As Boolean
Dim pptShape As PowerPoint.Shape
Dim pptChart As PowerPoint.Chart ' // This line causes the error
Dim pptSlide As PowerPoint.Slide
Dim pptData As PowerPoint.ChartData
Dim shtData As Excel.Worksheet
Dim lngRow As Long
Dim lngCol As Long
Dim lngOutRow As Long
Dim lngOutCol As Long
Dim lngTopRow As Long
Dim lngNItems As Long
Dim dblXaxisSize As Double
Dim lngAxisFactor As Long
Dim strHolderName As String
Dim rngXData As Range
Dim rngYData As Range
Dim lngNRows As Long
Dim lngSeries As Long
Dim objDLabel As Object
Dim strFormat As String
....
End Function
Any help is appreciated
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)