Hi,
I want open a specific excel worksheet from powerpoint.
I try:
Sub ApriExcel()
Dim xlApp As Object
Dim xlWorkBook As Object
Dim ExcelValue As Double
Set xlApp = CreateObject("Excel.Application")
xlApp.Visible = True
Set xlWorkBook = xlApp.Workbooks.Open("C:\Users\Microsoft\Desktop\Formazione light\Formazione\Start formazione\Slides Ended\AvvioCorso.xlsm", True, False)
xlWorkBook.Worksheets("Start").Range("B2").Value 'give me a debug Error
End Sub
But debug does not like it . Where am I wrong?
Thanks in advance
bg66