Good, so I'm brand new. A new role in the work. I received this request:
- Double-clicking on any cell in a sheet creates a new sheet.
- The original cell, which double-clicks, now turns into a hyperlink, referring to the newly created sheet.
- The double-click function for this cell, which was originally double-clicked, has been removed.
I'm honestly stuck. I have not programmed using VBA yet. I figured out how to create a new sheet with a double click, and I figured out how to hyperlink. But I can’t understand how the hyperlink to the newly created worksheet is and remove the double-click function from this source cell!
Here is all that I have ...
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Sheets.Add
End Sub
Also, forgive me if I break any rules here, this is my first post here. Thank you so much for your help!
source
share