Solved

checking if Excel is intalled

Posted on 2003-11-06
2
166 Views
Last Modified: 2010-05-03
I'd like to check if excel is installed.

if excel is installed then enable mnuExport and mnuImport if not disable them.

Thanks in advanced!
0
Comment
Question by:sexy-sx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
fantasy1001 earned 50 total points
ID: 9699083
use the error detection method

on Error goto Err

dim objApp as object
set objapp = createobject("excel.application")
exit sub

Err:
msgbox "Excel not installed"

~ fantasy ~
0
 

Author Comment

by:sexy-sx
ID: 9699151
excelent work.

i should've thought of that though... cheers!
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Child Form in front 4 66
MS Access 03, TransferText, decimal places 8 92
Formula problem with Excel attachment 6 45
can this macro be converted to sub procedure 4 34
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question