+ Reply to Thread
Results 1 to 2 of 2

Select a cel on a worksheet

  1. #1
    Registered User
    Join Date
    06-01-2005
    Posts
    7

    Select a cel on a worksheet

    Hello,

    Is there a function that when called, the user allow to select a cel on a woorksheet and that the function returns the selected worksheet and the selected cel (x,y position)?

    Tadashii

  2. #2
    Gary''s Student
    Guest

    RE: Select a cel on a worksheet

    I don't think that Select by single-click is possible. How about double-click:


    Private Sub Worksheet_BeforeDoubleClick(ByVal _
    Target As Range, Cancel As Boolean)
    Cancel = True
    MsgBox (Target.Address)
    MsgBox (Target.Worksheet.Name)
    End Sub


    Put this in worksheet code, not a module.
    --
    Gary''s Student


    "Tadashii" wrote:

    >
    > Hello,
    >
    > Is there a function that when called, the user allow to select a cel on
    > a woorksheet and that the function returns the selected worksheet and
    > the selected cel (x,y position)?
    >
    > Tadashii
    >
    >
    > --
    > Tadashii
    > ------------------------------------------------------------------------
    > Tadashii's Profile: http://www.excelforum.com/member.php...o&userid=23918
    > View this thread: http://www.excelforum.com/showthread...hreadid=513643
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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