General information
Category:
Coding, syntax & commands
i have the following code
tmpsheet = getobject('','excel.sheet')
xlapp = tmpsheet.application
xlapp.visible = .t.
xlapp.workbooks.open(filename_)
filename_ is '\pinktemp\61332206.xls' gives me an OLE error as File Not Found
but if i give the drive letter 'e:\pinktemp\61332206.xls' then it is works just fine.
my default has been already set as the E drive, so where is it actually looking and how do i make it work without actually specifying the drive letter.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only