+ Reply to Thread
Results 1 to 2 of 2

Hyperlink to any file based on cell content using "Alt+Q" shortcut

  1. #1
    Registered User
    Join Date
    03-05-2013
    Location
    US - Midwest
    MS-Off Ver
    2007 - Excel, Word, Access, PowerPoint, Visio, Project, Outlook, Acces
    Posts
    1

    Hyperlink to any file based on cell content using "Alt+Q" shortcut

    I have to pull information from various files and reference where that information was obtained for hundreds of documents/files a day and I would like a way to be able to quickly create a hyperlink to another file or worksheet based on the contents of a cell using "Alt+Q" keyboard shortcut. Any file that I will need to create a hyperlink to will be in the same file folder as the excel file I would be working in.

    For Example: I have an open excel workbook and want to create hyperlinks to a word doc and pdf file which are in the same folder as the active excel file. The word docs File name is "EF303 ABC Co. Financials.docx" and the PDF file is "EF304 DCD Regulations.pdf". I would like to be able to create a hyperlink in the excel file by typing EF303 into any cell and when I press the keyboard shortcut "Alt+Q” excel automatically searches the file folder the active workbook is saved under, locates the file, and creates a hyperlink to the file in the cell containing "EF303" without changing EF303 to the entire file name. Each file will have a unique WP reference (i.e. A1, A-01, 303.1.3.A, etc,). I have been trying to do this for a long time now and in each instance I have failed epically. Any help would be most appreciated.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Hyperlink to any file based on cell content using "Alt+Q" shortcut

    Try the following code which contains installation instructions. The data 'EF303' must be previously entered in a cell. Make the cell containing 'EF303' the active cell. Enter 'ALT' Q, and a hyperlink will be created if there is ONLY one file that starts with 'EF303'. If there are NO MATCHES, or TWO OR MORE MATCHES, a message will be displayed.

    Please Login or Register  to view this content.

+ 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. VBA Code- Move/Split cell content based on ","
    By Langer101 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 12-19-2012, 11:37 AM
  2. Transfert cell values from file "A" to file "B" skipping columns in file "B".
    By Sentrosi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2009, 11:11 PM
  3. [SOLVED] Remove content of last visited pages in "Insert Hyperlink" dialog
    By Excel bloke in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-11-2006, 07:37 PM
  4. [SOLVED] how do i automaticly "save as" using a cell's content as file nam
    By cxlough41 in forum Excel General
    Replies: 5
    Last Post: 01-05-2006, 01:55 AM
  5. [SOLVED] Cond Format & helper-cell based "duplicate rec" tricked by content
    By Dennis in forum Excel General
    Replies: 3
    Last Post: 12-16-2005, 03:00 PM

Tags for this Thread

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