Results 1 to 3 of 3

Thread: MouseDown Event in Excel.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2006
    Posts
    126

    MouseDown Event in Excel.

    Friends,
    I have a requirement like this.I have an Excel file having 4 columns and about 50 rows.Also I have a Flexgrid with 4 columns and 10 rows in a form.I wanted to know whether, is there any event like "MouseDown" for cells in Excel, so that when the user clicks any row of Excel sheet then the values in columns 1,2,3 and 4 of that row should be loaded into columns 1,2,3 and 4 of a free row in Flexgrid respectively.Please help me to do this. Thanks in Adavance.

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: MouseDown Event in Excel.

    I don't that is doable...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3
    Head Hunted anhn's Avatar
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    3,669

    Re: MouseDown Event in Excel.

    This may be very annoy to users but if you want you can use the event
    Worksheet_SelectionChange(ByVal Target As Range)
    where r = Target.Row is the first row number of the selection range.

    Mod, This thread should be in OD.
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • If your question was answered please use Thread Tools to mark your thread [RESOLVED]
    • Don't forget to RATE helpful posts

    • Baby Steps a guided tour
    • IsDigits() and IsNumber() functions • Wichmann-Hill Random() function • >> and << functions for VB • CopyFileByChunk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width