+ Reply to Thread
Results 1 to 3 of 3

Hyperlink to TXT file

  1. #1
    Registered User
    Join Date
    05-25-2005
    Location
    Ohio
    Posts
    1

    Question Hyperlink to TXT file

    I have a TXT file that is created from another software program. I'd like to create a hyperlink to that TXT file in Excel. When I click on the hyperlink I'd like the TXT file to open with Excel, not the default Notepad. Is this possible to do?

  2. #2
    Dave Peterson
    Guest

    Re: Hyperlink to TXT file

    You might be able to fiddle with your file associations--but I wouldn't do that.

    There's too much variability in the layout of text files to have them all open
    in excel (how would you open them--fixed width or delimited--and based on what.

    I think I'd record a macro that opened that .txt file, parsed it correctly and
    even added headers/filters/print setup stuff.

    Then I'd assign that recorded macro to the button.



    ranebow wrote:
    >
    > I have a TXT file that is created from another software program. I'd
    > like to create a hyperlink to that TXT file in Excel. When I click on
    > the hyperlink I'd like the TXT file to open with Excel, not the default
    > Notepad. Is this possible to do?
    >
    > --
    > ranebow
    > ------------------------------------------------------------------------
    > ranebow's Profile: http://www.excelforum.com/member.php...o&userid=23730
    > View this thread: http://www.excelforum.com/showthread...hreadid=374030


    --

    Dave Peterson

  3. #3
    Dave Peterson
    Guest

    Re: Hyperlink to TXT file

    Oooh. And I'd put a nice button from the Forms toolbar near that filename so
    that the macro would work!

    ranebow wrote:
    >
    > I have a TXT file that is created from another software program. I'd
    > like to create a hyperlink to that TXT file in Excel. When I click on
    > the hyperlink I'd like the TXT file to open with Excel, not the default
    > Notepad. Is this possible to do?
    >
    > --
    > ranebow
    > ------------------------------------------------------------------------
    > ranebow's Profile: http://www.excelforum.com/member.php...o&userid=23730
    > View this thread: http://www.excelforum.com/showthread...hreadid=374030


    --

    Dave Peterson

+ 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