+ Reply to Thread
Results 1 to 2 of 2

remove all hyperlinks

  1. #1
    Registered User
    Join Date
    11-12-2004
    Posts
    4

    remove all hyperlinks

    I need code to remove all hyperlinks in a single sheet, not the whole workbook, thanks.

  2. #2
    Dave Peterson
    Guest

    Re: remove all hyperlinks

    Select all the cells (ctrl-A (twice in xl2003))
    hit alt-f11 (to get to the VBE, where macros live)
    hit ctrl-g (to see the immediate window)

    type this and hit enter:

    selection.hyperlinks.delete

    Close the VBE and back to excel to see if it worked.

    ===
    You could even just select a smaller range and just clean that since the command
    uses the current selection.

    ski2004_2005 wrote:
    >
    > I need code to remove all hyperlinks in a single sheet, not the whole
    > workbook, thanks.
    >
    > --
    > ski2004_2005
    > ------------------------------------------------------------------------
    > ski2004_2005's Profile: http://www.excelforum.com/member.php...o&userid=16418
    > View this thread: http://www.excelforum.com/showthread...hreadid=377182


    --

    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