Results 1 to 4 of 4

Thread: Open a file with a different application

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    India
    Posts
    10

    Question

    Hi,

    I want to open a html file thru excel application.Can anyone tell me how to go about it.

    Thanks.

  2. #2
    Guest
    Use the Shell function.

    I'm not to sure what Excel's path is, but...


    Code:
    Shell "C:\Program Files\Microsoft\...\Excel.exe C:\htmlfile.htm",1
    It's something like that, just replace with the correct path.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    India
    Posts
    10
    Thanks a lot. It works....

  4. #4
    Guest

    Path of Excel

    Hi

    You can get the path to Excel from

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\9.0\Common\InstallRoot and the key name is "Path"

    This is for Office 2000.

Posting Permissions

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



Click Here to Expand Forum to Full Width