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
Calling a secure web servie with WCF client
Purge Deleted items from database immediatly after message recall
Web Services Cross Browser Support
csv delimeter problem when importing to adp
CPropertySheet vs. CTabCtrl
How to use Decimal Data Type in VBA code
Excel Date column - autopopulate with today's date or incrementing date (part 2)
Need a SSIS walk through help on downloading an Excel file using a url
Extracting data from AS400 into text format -- Date
Entension vs Regular Dll in MFC?