+ Reply to Thread
Results 1 to 5 of 5

Goto a named cell using Worksheet_BeforeDoubleClick(

  1. #1
    Registered User
    Join Date
    05-26-2012
    Location
    Westward Ho!
    MS-Off Ver
    Excel 2007
    Posts
    18

    Goto a named cell using Worksheet_BeforeDoubleClick(

    Hello

    I am new to VBA and am wanting to jump to a location on a page when I double-click a cell. It works fine if I give the cell to jump to a range specified directly (click on 5 for section5) but I am trying to jump to section1 when I click on 1 and create the name.

    I attach a sample of my workings.

    Any tips please.

    Regards
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Goto a named cell using Worksheet_BeforeDoubleClick(

    Hi,

    Have you considered using the normal hyperlink functionality? You don't need VBA
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-26-2012
    Location
    Westward Ho!
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Goto a named cell using Worksheet_BeforeDoubleClick(

    Richard

    Thank you for the tip.

    I have tried this and have a new error. Please see attached.

    I think my problem is that I am declaring path as a string and using as a Reference in Goto.

    Regards
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Goto a named cell using Worksheet_BeforeDoubleClick(

    Hi,

    You seem to be missing the point I was making. You don't NEED VBA. You can just use hyperlinks. See attached where I've added the first two for you.

    See attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-26-2012
    Location
    Westward Ho!
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Goto a named cell using Worksheet_BeforeDoubleClick(

    Thanks

    Not quite what I want to do. I want to use VBA.

    Thanks for the tip though.

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sub Worksheet_BeforeDoubleClick
    By ana.ciofrangeanu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-24-2014, 10:31 AM
  2. Worksheet_BeforeDoubleClick Not Working
    By hydz1213 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2014, 06:50 AM
  3. Goto a named range/cell
    By darbid in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-27-2008, 06:07 AM
  4. [SOLVED] Goto a named range using the contents of the active cell
    By Brian C in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2006, 12:14 AM
  5. Sub Worksheet_BeforeDoubleClick from elsewhere?
    By Jack Sons in forum Excel General
    Replies: 2
    Last Post: 11-02-2005, 06:17 PM

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