+ Reply to Thread
Results 1 to 3 of 3

Openning other files from VBA

Hybrid View

  1. #1
    Stuart
    Guest

    Openning other files from VBA

    How would i open a file such as

    "C:\work\images\preview.htm"

    I have been experimenting with shell but can't get anything to work

    I am using Excel97 on XP home




  2. #2
    Bob Phillips
    Guest

    Re: Openning other files from VBA

    Why not just open it in Excel, as any other file?

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "Stuart" <jtfder@lkbrt.kfe> wrote in message
    news:dnbgco$dr7$1@news8.svr.pol.co.uk...
    > How would i open a file such as
    >
    > "C:\work\images\preview.htm"
    >
    > I have been experimenting with shell but can't get anything to work
    >
    > I am using Excel97 on XP home
    >
    >
    >




  3. #3
    chijanzen
    Guest

    RE: Openning other files from VBA

    Stuart:

    try ,FollowHyperlink Method


    Link = "C:\work\images\preview.htm"
    ActiveWorkbook.FollowHyperlink Address:=Link, NewWindow:=True

    --
    天行健,君*以自強不息
    地勢坤,君*以厚德載物

    http://www.vba.com.tw/plog/


    "Stuart" wrote:

    > How would i open a file such as
    >
    > "C:\work\images\preview.htm"
    >
    > I have been experimenting with shell but can't get anything to work
    >
    > I am using Excel97 on XP home
    >
    >
    >
    >


+ 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