Oct 28, 2005 #1 snuv Programmer Joined Oct 30, 2001 Messages 751 Location 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 Joined Sep 1, 2005 Messages 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 Joined Apr 13, 2004 Messages 63 Location 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 Joined Jul 18, 2002 Messages 5,011 Location 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.