I am using Microsoft Excel 2010 and Microsoft VBA 7.0 on my system. I would like to eventually create a PowerPoint and insert charts generated in the Excel workbook. In the meantime, I cannot get the basic PowerPoint created.
The line in red is highlighted blue when the compile error "User-defined type not defined" message box appears.
Public Sub TryAgain()
I am probably missing something, so direction would be most helpful. If more information is required, please let me know.
The line in red is highlighted blue when the compile error "User-defined type not defined" message box appears.
Public Sub TryAgain()
Dim myPowerPoint As PowerPoint.Application
'
' do nothing for now
'
End Sub'
' do nothing for now
'
I have set the references such that Microsoft Project 14.0 Object Library is indeed checked. The Excel file only contains this code in a module. All sheets are blank. Nothing else is written yet.I am probably missing something, so direction would be most helpful. If more information is required, please let me know.