A
Android
I just discovered this community.
I am trying to run an Excel workbook template from within
a Word document.
Having trouble with this. The closest without error I came
to is the following:
Private Sub cmdCBA_Click()
Dim ExcelSheet As Object
Set ExcelSheet = CreateObject("Excel.Application")
ExcelSheet.Workbooks.Add ("O:\..... \tplCBA.xlt")
End Sub
This does not give errors, but also does nothing. Also,
even though I'm using the same folder for the document and
the template, I still need to specify the full path for
some reason.
Could someone please tell me what I'm doing wrong.
Regards,
Android.
I am trying to run an Excel workbook template from within
a Word document.
Having trouble with this. The closest without error I came
to is the following:
Private Sub cmdCBA_Click()
Dim ExcelSheet As Object
Set ExcelSheet = CreateObject("Excel.Application")
ExcelSheet.Workbooks.Add ("O:\..... \tplCBA.xlt")
End Sub
This does not give errors, but also does nothing. Also,
even though I'm using the same folder for the document and
the template, I still need to specify the full path for
some reason.
Could someone please tell me what I'm doing wrong.
Regards,
Android.