Skip to main content

How to hide hyperlink addresses in Excel? 

In Excel, when you hover the mouse over to the cell which contains hyperlink, the hyperlink address will be displayed immediately. But, in certain case, you would like to hide or remove the hyperlink address as following screen shown. How could you solve this job as easy as possible?

doc-hide-hyperlinks-1 -2 doc-hide-hyperlinks-2

Hide hyperlink address by editing hyperlink

Hide all hyperlink addresses with VBA code


arrow blue right bubble Hide hyperlink address by editing hyperlink

In fact, you can hide or remove the hyperlink address by editing the hyperlink as follows:

1. Select the hyperlink cell that you want to hide.

b. Right click and choose Edit Hyperlink from the context menu, see screenshot:

doc-hide-hyperlinks-1

3. In the Edit Hyperlink dialog box, click ScreenTip button, see screenshot:

doc-hide-hyperlinks-1

4. Then in the popped out Set Hyperlink ScreenTip dialog, please type a single space character on keyboard into the ScreenTip text field, see screenshot:

doc-hide-hyperlinks-1

5. And then click OK > OK to close the dialogs, and now, when you put the cursor at the hyperlink cell, the hyperlink address has been hidden.

Note: If there are multiple hyperlink addresses in the worksheet need to be removed, you must hide them one by one with above method.


arrow blue right bubble Hide all hyperlink addresses with VBA code

To remove all the hyperlink addresses from a worksheet, the above method will be tedious and time consuming. Here, I can talk about a VBA code to sole this task.

1. Press the ALT + F11 keys together, and it opens the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following code in the Module Window.

VBA code: Hide all hyperlink addresses

Sub ClearHyperlinksTip()
'Update 20140923
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
For Each Rng In WorkRng
    If Rng.Hyperlinks.Count > 0 Then
        Rng.Hyperlinks(1).ScreenTip = " "
    End If
Next
End Sub

3. Then press F5 key to run this code, a prompt box will pop out to remind you select the range contains hyperlinks, see screenshot:

4. And then click OK, all your selected hyperlink addresses have been removed from the screen tip at once.

Note: By above two methods, though the hyperlink addresses don’t display on the screen tip, the hyperlinks work well.


Related articles:

How to insert multiple hyperlinks in a cell in Excel?

How to prevent hyperlinks from changing color in Excel?

How to change multiple hyperlink paths at once in Excel?

How to remove / delete all or multiple hyperlinks in Excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How do you do the opposite of what is described above? In other words, instead of hiding anything from appearing in the cell which contains the hyperlink, how do you make the text - in my case, email addresses - become visible again? When I copied a list of email addresses from one spreadsheet to another, for some reason the email addresses, which had already had hyperlinks, became invisible. When I however over each cell with my mouse, I can see that the hyperlink still exists. When I click on those cells, a new tab in my browser opens up.
This comment was minimized by the moderator on the site
Thank you for the tip on how to reduce the size of the yellow mouse-over box It will come in handy. However the problem still exists for dynamic hyperlinks where there is no option to edit the link. i.e. right click only gives the option to 'remove hyperlink' due to the fact that I created the link without using the hyperlink function. Any ideas on that?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations