+ Reply to Thread
Results 1 to 3 of 3

OnClick event

Hybrid View

Guest OnClick event 02-22-2005, 01:06 PM
Guest Re: OnClick event 02-22-2005, 02:06 PM
Guest Re: OnClick event 02-22-2005, 02:06 PM
  1. #1
    lilika
    Guest

    OnClick event

    Hi guys,

    I would like to ask you a question. I would like to prompt a user with
    a message ( inputbox) when the click in a specific cell. How can I do
    that?

    Thanks in advance

    Riri

  2. #2
    Bob Phillips
    Guest

    Re: OnClick event

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)

    If Target.Address = "$H$1" Then
    MsgBox "hello"
    End If

    End Sub

    'This is worksheet event code, which means that it needs to be
    'placed in the appropriate worksheet code module, not a standard
    'code module. To do this, right-click on the sheet tab, select
    'the View Code option from the menu, and paste the code in.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "lilika" <eleftheriak@hotmail.com> wrote in message
    news:3f8bc0e1.0502220859.6144fba6@posting.google.com...
    > Hi guys,
    >
    > I would like to ask you a question. I would like to prompt a user with
    > a message ( inputbox) when the click in a specific cell. How can I do
    > that?
    >
    > Thanks in advance
    >
    > Riri




  3. #3
    eleftheriak@hotmail.com
    Guest

    Re: OnClick event

    Thanks a lot in works like magic


+ 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