|
-
May 15th, 2002, 10:32 AM
#1
Thread Starter
Registered User
detecting if user has excel
is there a way to see if microsoft excel is loaded on the computer using vb? my program is useless if the user doesn't have excel...
thanks,
jeff
-
May 15th, 2002, 11:50 AM
#2
Frenzied Member
I think you should be able to find the path of excel from the registry in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\Excel.exe if it returns vbNullString they haven't got it. You have to get some registry reading code first though.
-
May 15th, 2002, 06:01 PM
#3
here's another way to do it.....
Dim objExcelTest As Object
Set objExcelTest = CreateObject("Excel.Application")
If objExcelTest Is Nothing Then
MsgBox "You don't have Excel installed."
Else
MsgBox "You do have Excel."
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|