Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Pal Pal is offline
external usenet poster
 
Posts: 27
Default Mouse Down event

I am trying to setup a do while loop
to occur while the left mouse button is down within a text box.

I see a mouse down function but it is only for charts I believe
Is there a separate call for this event?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Mouse Down event

Pal

How about a click or dblclick event

Regards
Peter
-----Original Message-----
I am trying to setup a do while loop
to occur while the left mouse button is down within a

text box.

I see a mouse down function but it is only for charts I

believe
Is there a separate call for this event?

Thanks


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
Pal Pal is offline
external usenet poster
 
Posts: 27
Default Mouse Down event

I have it working with mouseup
but it only happens when I finish selecting the range.

I wanted a live update as I move the mouse - so I used:

Private Sub textbox1_Mouseup(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
Cells(4, 8).Value = TextBox1.SelText
End Sub

but it made my excel crash every time.



"Peter Atherton" wrote in message
...
Pal

How about a click or dblclick event

Regards
Peter
-----Original Message-----
I am trying to setup a do while loop
to occur while the left mouse button is down within a

text box.

I see a mouse down function but it is only for charts I

believe
Is there a separate call for this event?

Thanks


.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse Up or Down Event billinr Excel Discussion (Misc queries) 2 July 5th 07 07:46 PM
perform an event if mouse rolled over an object [email protected] Excel Worksheet Functions 0 September 5th 06 08:28 PM
mouse over event rk0909 Excel Discussion (Misc queries) 1 September 3rd 06 02:51 PM
Use the "mouse over" event to exclude a data point from a series Randall Hiltz Charts and Charting in Excel 10 January 19th 05 06:20 PM
Mouse Click Event Srinath Excel Programming 2 July 18th 03 04:03 AM


All times are GMT +1. The time now is 11:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"