hi all
I use to use NT/Office 97 and the following code worked fine on a command button
Private Sub excel_Click()
Dim xlapp As excel.Application
Dim xlbook As excel.Workbook
Dim xlsheet As excel.Worksheet
Set xlapp = New excel.Application
xlapp.Visible = True
Set xlbook = xlapp.Workbooks.Open("H:\xxxx\xxxx\Charges\ITBudget2003.xls"
Set xlsheet = xlbook.Worksheets("sheet1"
'
' Updating monthly budget figures
can someone please help with the new code - it seems it is the first two lines in the debug it is rejecting
I am now using Windows 2000/Office 2000
have tried in the help but cant seem to find it exactly
thanks
I use to use NT/Office 97 and the following code worked fine on a command button
Private Sub excel_Click()
Dim xlapp As excel.Application
Dim xlbook As excel.Workbook
Dim xlsheet As excel.Worksheet
Set xlapp = New excel.Application
xlapp.Visible = True
Set xlbook = xlapp.Workbooks.Open("H:\xxxx\xxxx\Charges\ITBudget2003.xls"
Set xlsheet = xlbook.Worksheets("sheet1"
'
' Updating monthly budget figures
can someone please help with the new code - it seems it is the first two lines in the debug it is rejecting
I am now using Windows 2000/Office 2000
have tried in the help but cant seem to find it exactly
thanks