I use the following code in my VB6 application to open Excel...

On Error Resume Next
Set ExcelApp = GetObject("Excel.Application")
If ExcelApp Is Nothing Then
Set ExcelApp = CreateObject("Excel.Application")
End If

However, after a number of years of working perfectly, I am experiencing a problem with Excel 2010 in Win7. For unknown reasons, Excel freezes when selecting "Save" or "Save As" from the File tab and the Task Manager must be used to exit Excel. However, the problem does not occur when Excel is started in safe mode ("Ctrl+Excel Icon" or "Excel /safe" from the command line). An internet search indicates that many users are experiencing the same problem with Excel 2010. My code, which was working perfectly before, and on other PCs, now does not produce the same results in Excel. Hopefully, if I can start Excel in safe mode, the problem will not occur. Is there VB6 code for starting Excel in safe mode as this might fix the problem and/or prevent the problems for other users experiencing the same behavior in Excel.