Testing for Excel
- From: "Uriah Piddle" <stephenprescott@xxxxxxx>
- Date: Mon, 3 Sep 2007 20:19:51 -0500
Hi Gang,
My app can export data to Excel. In the Main procedure, I test for the
presence of Excel like this:
Set objExcelApplication = CreateObject("Excel.Application")
If Err.Number = 0 Then
If Not objExcelApplication Is Nothing Then g_boolExcelInstalled
= True
Else
Err.Clear
End If
The other day I installed the app on a computer that does not have Excel
(but does have
an evaluation version that has not been activated) and, on startup, an msi
window came up and asked for the disk so it could install Excel. This is NOT
GOOD.
I'm wondering if there is a better way to test for the presence of Excel.
Thanks for any ideas.
Steve
.
- Follow-Ups:
- Re: Testing for Excel
- From: Uriah Piddle
- Re: Testing for Excel
- From: Paul Clement
- Re: Testing for Excel
- From: Ralph
- Re: Testing for Excel
- Prev by Date: Configuration of Login and password in VB6 program
- Next by Date: Re: Fast Size Folder
- Previous by thread: Configuration of Login and password in VB6 program
- Next by thread: Re: Testing for Excel
- Index(es):
Relevant Pages
|
Loading