Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default excel program be or not in computer



i want to know whether setting excel program in the current computer
using vba.

function bln_excel_is_be() as boolean
~~~~~~~~~~
msgbox "yes or no"
end function

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default excel program be or not in computer

Not sure what you mean.
VBA has to run inside an application. As this is an Excel NG, it's assumed
you are running Excel VBA. As such Excel is installed.
But in Word, Access etc you use this to see if Excel is available :

Dim XLApp as Object
set xlapp=createobject("Excel.Application")

if xlapp is nothing then exit sub

Or may be check some registry keys :
HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Ex cel
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\E xcel

NickHK

"x taol" wrote in message
...


i want to know whether setting excel program in the current computer
using vba.

function bln_excel_is_be() as boolean
~~~~~~~~~~
msgbox "yes or no"
end function

*** Sent via Developersdex http://www.developersdex.com ***



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default excel program be or not in computer



thank you, NickHK
I wanted it, your answer.
good bye.

*** Sent via Developersdex http://www.developersdex.com ***
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My computer keeps speaking out cells in excel, no other program K8 Excel Discussion (Misc queries) 1 October 23rd 09 03:45 PM
Fatloss computer program Angel vasquez New Users to Excel 0 October 16th 07 12:22 AM
What program do I need to download clip art onto my computer? Ashley-T Excel Discussion (Misc queries) 1 September 16th 07 07:40 PM
Excel program only runs on one computer JWM6[_21_] Excel Programming 1 May 5th 06 04:28 PM
move excel program from old computer to new gonsailin Excel Discussion (Misc queries) 1 March 15th 06 02:27 PM


All times are GMT +1. The time now is 08:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"