How to double click a cell in Excel and jump to another worksheet (or another file)

Reported answer
How to double click a cell in Excel and jump to another worksheet (or another file)
Ask online customer service
Scan the code to ask online customer service
  • Number of answers

    four

  • Number of browses

    9,062

4 answers Default sorting
  • Default sorting
  • Sort by time

Adopted
In Excel, to double click a cell and jump to another worksheet or other file, you can use VBA programming language to write macros. Here are simple steps:
1. Open Excel and enter the workbook or worksheet where you want to set macros.
2. Click the "Development Tools" tab, and click the "Visual Basic Editor" button in the "Macro" group to open the Visual Basic editor.
3. In the editor, click "Insert" on the menu bar, select "Module", and enter the following code in the pop-up dialog box:
Sub Jump to another worksheet ()
Sheets("Sheet1"). Select
End Sub
4. Press F5 to run the macro.
The above code will select the worksheet named "Sheet1" and set it as the current active worksheet. You can modify the cell, worksheet and other parameters in the code as needed.
5. Finally, double-click the cell to trigger the macro in the Excel application to realize the jump function.
Please note that this is just a simple example code. Different situations and requirements may arise in actual applications, so you may need to make appropriate modifications and adjustments according to the specific situation. If you need more help, please consult professional technicians or relevant materials.
cancel comment
1 Open a workbook
2 Right click a cell, select Hyperlink from the drop-down menu, and specify linked workbooks.
3 After pointing, it will turn blue, and click to open the workbook.
4 To get to a specific cell, click "Bookmark" in the hyperlink interface
cancel comment
It can be realized by using hyperlinks. After opening an Excel table, right click the cell and select the hyperlink to set it to return to the specified cell. Here, wps office is used for demonstration:
Open Excel table file ---- Right click cell ---- Hyperlink

Open the hyperlink ---- select the location in this document ---- enter the cell you want to return ---- OK.
cancel comment
such as
Double click A1 to automatically jump to
query
This worksheet
Private
Sub
Worksheet_SelectionChange(ByVal
Target
As
Range)
If
Target.Address
=
$A$1
Then
Sheets Select
End
If
End
Sub
cancel comment
ZOL Q&A > How to double click a cell in Excel and jump to another worksheet (or another file)

report

Thank you for contributing to the harmony of the community. Please select the type of report

Reported successfully

It will be handled after verification
Thank you for your contribution to community harmony

Scan the code to participate in the trial of new products at 0 yuan
You can get the sheets and grand gifts on the top floor

 Scan and pay attention to us
Tips

Are you sure you want to cancel this registration and exit this activity?