LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default Get Active Object or Textbox Name to pass to sub

I have multiple text box - in the mouse down event for each - I want to pass
the name of the textboax to another module something like this

public controlname as control

sub mousedown()
controlname = activesheet.control.name

What is the correct code?

Also the mouse down event seems to happen twice upon one right click -
anyway to stop this - thanks so much for your help!

 
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
pass to textbox on a form and to excel worksheet cvw New Users to Excel 0 March 16th 10 07:35 PM
OnTime: Pass Object Arguments Greg Lovern Excel Programming 6 October 12th 07 12:50 AM
Pass a range object as a parameter clara Excel Programming 5 April 27th 07 05:34 AM
Pass object by value not working... Lyndon[_2_] Excel Programming 6 January 22nd 07 11:34 PM
How to pass active workbook to external DLL? MarkDev Excel Programming 4 August 13th 06 02:19 PM


All times are GMT +1. The time now is 06:08 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"