+ Reply to Thread
Results 1 to 4 of 4

Click event, X-Y position of click.

  1. #1
    Registered User
    Join Date
    07-14-2020
    Location
    Kerala, India
    MS-Off Ver
    MS Office Professional Plus 2013
    Posts
    29

    Click event, X-Y position of click.

    Dear friends,

    User form handles Click event. Is it possible to get the X-Y position where it is clicked?

    My Userform has a table. I want to get the row and column of the cell where I clicked with the mouse.

    Any suggestion?

    Regards,
    Pravin Kumar.

  2. #2
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    17,739

    Re: Click event, X-Y position of click.

    What kind of table do you have in your userform? Table does not seem to be a built-in object for userforms. Also X, Y position is not the same as row/column.

    The MouseDown event will return the X, Y position of a mouse click on your form.

    Please Login or Register  to view this content.
    However, I can't give you further advice without knowing exactly what you are doing. It would be helpful to have your file. See yellow banner at the top of the page.

  3. #3
    Registered User
    Join Date
    07-14-2020
    Location
    Kerala, India
    MS-Off Ver
    MS Office Professional Plus 2013
    Posts
    29

    Re: Click event, X-Y position of click.

    Thanks. Have a nice day.

  4. #4
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    17,739

    Re: Click event, X-Y position of click.

    Good luck and thank you for the rep.

+ 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] ActiveX combobox click triggers unwanted another comboxbox click event
    By aprildu in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-12-2015, 10:08 AM
  2. Click v double click event code
    By Greg J in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2014, 04:08 AM
  3. Replies: 0
    Last Post: 03-06-2013, 12:52 PM
  4. Prevent ListBox Click Event Until Mouse Click
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2011, 12:23 PM
  5. How to click macro - Move right 15 cells - Next click move back to home position
    By Launchnet in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-05-2010, 10:47 PM
  6. [SOLVED] userform label double-click goes to click event
    By John Paul Fullerton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2006, 01:00 PM
  7. [SOLVED] how do i arrange columns by its numerical position with a click
    By help in forum Excel General
    Replies: 1
    Last Post: 02-14-2006, 03:50 PM

Tags for this Thread

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