+ Reply to Thread
Results 1 to 9 of 9

Open any file by double click on cell

  1. #1
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    279

    Open any file by double click on cell

    Hello,

    Can someone tell me if is possible to open a file (pdf, word, png, xlsx) from a path that is written in a cell?

    I have hundreds of path in ColG and I would like to get them opened by double click on it.

    Thank you!

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,440

    Re: Open any file by double click on cell

    Hi,

    You could use the =HYPERLINK() function to give you a clickable link.

    A double click would require some VBA .
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    279

    Re: Open any file by double click on cell

    Thank you Sweep. In fact I am looking for a VBA code, sorry for not informing this before.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Open any file by double click on cell

    I can open any file by selecting from a userform

    The Code I use is

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  5. #5
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    279

    Re: Open any file by double click on cell

    Thank you for your quick reply. I was not able to make it work. I am new to VBA

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Open any file by double click on cell

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  7. #7
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    279

    Re: Open any file by double click on cell

    Sure, here is the file.

    The BEFORE would be the file with the paths. The AFTER would be to see the document opened by Explorer.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Open any file by double click on cell

    Try double clicking on a row.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    279

    Re: Open any file by double click on cell

    Thank you. You saved me from a tedious task. It is working now.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel won't open the file when I double click on it
    By showboat in forum Excel General
    Replies: 2
    Last Post: 06-01-2014, 10:12 AM
  2. Open application on double click on a special file
    By darry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2013, 05:45 AM
  3. double click excel file doesn't open it
    By kman in forum Excel General
    Replies: 2
    Last Post: 11-26-2005, 12:42 PM
  4. can't open file by double click
    By Mike Morn in forum Excel General
    Replies: 1
    Last Post: 11-16-2005, 01:52 PM
  5. [SOLVED] I want open file for click double mouse
    By I want open file for click double mouse in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-17-2005, 08:05 AM
  6. I want open file excel for click double mouse
    By I want open file for click double mouse in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-17-2005, 08:05 AM
  7. Why Excel file doesn't open by double click.
    By Siraj in forum Excel General
    Replies: 1
    Last Post: 02-06-2005, 10:06 AM

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