Oct 28, 2005 #1 snuv Programmer Oct 30, 2001 751 GB Is there an easy way, using VB.NET, to check if excel is installed "If it could have gone wrong earlier and it didn't, it ultimately would have been beneficial for it to have." : Murphy's Ultimate Corollary
Is there an easy way, using VB.NET, to check if excel is installed "If it could have gone wrong earlier and it didn't, it ultimately would have been beneficial for it to have." : Murphy's Ultimate Corollary
Oct 28, 2005 1 #2 TipGiver Programmer Sep 1, 2005 1,863 ExcelApp = GetObject(, "Excel.Application") If ExcelApp Is Nothing Then ExcelApp = CreateObject("Excel.Application") If ExcelApp Is Nothing Then ' error with excel **** End If End If **** : Any error trying to find it, or it is not installed. Upvote 0 Downvote
ExcelApp = GetObject(, "Excel.Application") If ExcelApp Is Nothing Then ExcelApp = CreateObject("Excel.Application") If ExcelApp Is Nothing Then ' error with excel **** End If End If **** : Any error trying to find it, or it is not installed.
Oct 28, 2005 #3 miket26 Programmer Apr 13, 2004 63 CA You could also try... try dim app = new Excel.application catch msgbox("No excel") exit sub end try Upvote 0 Downvote
Oct 28, 2005 #4 RiverGuy Programmer Jul 18, 2002 5,011 US This question was asked an answered not one month ago: thread796-1132494 Please do a search next time. Upvote 0 Downvote
This question was asked an answered not one month ago: thread796-1132494 Please do a search next time.