Microsoft
Software
Hardware
Network
Question : call shell failing
Procedure used to work when MS Excel 2003 installed. It has been uninstalled. Now Excel 2007.
Now when execute Call Shell(stAppName, 1) error is : 'File not found'
Dim stAppName As String
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "q_enrollment_dif_2email",
_
"C:\Databases\ESP\Email\en
rollment_d
if_2email.
xls", -1
stAppName = "Excel.exe C:\Databases\ESP\Email\enr
ollment_di
f_2email.x
ls"
Call Shell(stAppName, 1)
Suggestions please.
Answer : call shell failing
stAppName = "Excel.exe
has the location of Excel.exe changed? If so, you may want to specify the full path to it.
Random Solutions
Unable to map printer using XPsp2 Corp RDC 6.0
DFS cross domain replication?
multiple JOINs ON equal AND NOT equal
Constant Username and Password Pop up in Exchange 2007
Excel automation: unload XLL so Excel can quit
SQL - CASE Statement help needed
Choosing the right constraint with the select query
TAPI in VB.NET
Open report from a double-click event on a form
Difference between Works 9 and Office