How to display hyperlink results at top of page in Excel?
Supposing you create a hyperlink in a cell of current worksheet, for example, cell A1 links to cell H200, when clicking on A1, the worksheet will jump to H200 directly. But sometimes you may need to display the hyperlink results at the top of page (the next row of the hyperlink cell) in order to view the result and the hyperlink cell together. This article will help you.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
You can display hyperlink results at top of page with following VBA code.
1. Firstly, please freeze the hyperlink cell row with the Freeze Panes build-in function in Excel.
2. Right click the current sheet tab, select View Code from the right-clicking menu.
3. In the Microsoft Visual Basic for Applications window, copy and paste the following code into the Module window.
VBA: Display hyperlink results at top of page
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) ActiveWindow.ScrollRow = ActiveCell.Row End Sub
4. Press Alt + Q keys simultaneously to close the Microsoft Visual Basic for Applications window.
By now, when you click on hyperlink in cell A1, you can see the hyperlink result is displayed at the top of page (just in the next row of the hyperlink cell).
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 11 months agoOlá! E se quisermos que abra no canto superior esquerdo da página?