+ Reply to Thread
Results 1 to 2 of 2

How to find out the path to excel.exe thru vb

Hybrid View

  1. #1
    sentiboy@gmail.com
    Guest

    How to find out the path to excel.exe thru vb

    Hi All,

    Can any body tell me how to extract the path of excel.exe installed on
    my computer thru vb 6.0.


    by
    Sentimental


  2. #2
    Jim Cone
    Guest

    Re: How to find out the path to excel.exe thru vb

    Sentimental,
    I don't have classic VB, but this should work...
    '---------------------------
    Sub GetExcelPathFromVB()
    Dim appXL As Object
    Dim s As String
    Set appXL = CreateObject("Excel.Application")
    s = appXL.Path
    MsgBox s
    appXL.Quit
    Set appXL = Nothing
    End Sub
    '------------
    Jim Cone
    San Francisco, USA
    http://www.realezsites.com/bus/primitivesoftware


    <sentiboy@gmail.com> wrote in message news:1142795739.399245.46460@e56g2000cwe.googlegroups.com...
    Hi All,
    Can any body tell me how to extract the path of excel.exe installed on
    my computer thru vb 6.0.
    by
    Sentimental


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1