+ Reply to Thread
Results 1 to 2 of 2

Delete the hyperlinks in a range without changing the format

Hybrid View

  1. #1
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Delete the hyperlinks in a range without changing the format

    Hi,

    I have a range with hyperlinks, and those cells have border fomat. When I delete the hyperlinks (see code), the border are also deleted.

    How can I delete the hyperlinks in a range without changing the format?

        Range("A1:A10").Select
        Selection.Hyperlinks.Delete
    Regards,
    Elio Fernandes
    Last edited by efernandes67; 07-29-2010 at 06:45 PM.

  2. #2
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255

    Re: How can I delete the hyperlinks in a range without changing the format?

    I experienced the same issue with no solution directly.
    However if you change Tools > Options > Spelling > Autocorrect > Autoformat as you type > and uncheck the "Internet & Network paths with hyperlinks" option.
    This will stop these type of entries converting to hyperlinks in the first place.

    I hope that helps.

+ 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