T
thtsps
Hi,
I've customized a form and see a code as below
Sub cmdWorksheet_Click
Set objExcelApp = Item.Application.CreateObject("Excel.Application")
objExcelApp.Workbooks.Open("AAAA.xls")
Set objExcelBook = objExcelApp.ActiveWorkbook
Set objExcelSheets = objExcelBook.Worksheets
Set objExcelSheet = objExcelBook.Sheets(2)
objExcelSheet.Activate
objExcelApp.Application.Visible = True
End Sub
I got some problem that when other user click to get a excel file they will
get a error that "AAAA.xls could not be found" Pls let me know how do i do
about the storage of this file. Thank in advance
I've customized a form and see a code as below
Sub cmdWorksheet_Click
Set objExcelApp = Item.Application.CreateObject("Excel.Application")
objExcelApp.Workbooks.Open("AAAA.xls")
Set objExcelBook = objExcelApp.ActiveWorkbook
Set objExcelSheets = objExcelBook.Worksheets
Set objExcelSheet = objExcelBook.Sheets(2)
objExcelSheet.Activate
objExcelApp.Application.Visible = True
End Sub
I got some problem that when other user click to get a excel file they will
get a error that "AAAA.xls could not be found" Pls let me know how do i do
about the storage of this file. Thank in advance