+ Reply to Thread
Results 1 to 6 of 6

Assign hashtag system to insert hyperlink?

  1. #1
    Registered User
    Join Date
    05-27-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    20

    Assign hashtag system to insert hyperlink?

    Hi everyone,

    I'm trying to develop a workbook to assist in performance measurement and need a bit of help. I know that one can insert hyperlinks fairly easily by simply copying a cell and pasting it as a hyperlink through the clipboard, but I was wondering if it might be possible to assign a key or set of key strokes to perform this function instead. Ideally I'd like to create something akin to a hashtag system, or the previous method of tagging someone in a post on Facebook; enter a special symbol (#, @, etc.) into one cell, then click on the cell to which you want it linked, hit enter and be done. I'm trying to make this function as user friendly as possible for others using the workbook, so I'd like to avoid having to copy, paste, or any other steps. I've tried using Ctrl+K, but it keeps prompting me to select a file, which I'd like to avoid. This would all be contained within the one workbook, so there would be no need to worry about hyperlinking to other files.

    I assume it must be possible to do this manually, record the macro and then simply assign the macro to a particular key, but I'm not certain as to how precisely this might be accomplished. Any ideas?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428

    Re: Assign hashtag system to insert hyperlink?

    The hyperlink dialog has the Place in Document option. Can you not use that?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Assign hashtag system to insert hyperlink?

    just use the hyperlink function =hyperlink()

    if you really want to shorten it you could create a custom function that calls the hyperlink and call it H or something, you can't use things like # as a function name though.
    Last edited by ragulduy; 06-04-2013 at 11:52 AM.

  4. #4
    Registered User
    Join Date
    05-27-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Assign hashtag system to insert hyperlink?

    It's possible to select a cell using the Place in Document option, but not possible to assign a shortcut or function key. As well, the other people who would be using this workbook are not exactly tech-savvy. I know that if they're required to type out a specific cell reference rather than just click on it, things will go wrong.

  5. #5
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Assign hashtag system to insert hyperlink?

    Thinking about it, you can't put a custom funcion h() which does the same as =hyperlink(), so you would have to have an empty function h() and then have a worksheet_change event that looks for you typing your function, in order for it to be unique enough for it to not be called accidentally, you would probably be no better than with the =hyperlink() function.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428

    Re: Assign hashtag system to insert hyperlink?

    assign this to a key sequence of you choice.

    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)

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