ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Calling Macro by different TextBoxes (https://www.excelbanter.com/excel-programming/313200-calling-macro-different-textboxes.html)

Jarek[_23_]

Calling Macro by different TextBoxes
 

Hello, Doug,
works perfectly, thank you very much!
I've tried Apllication.Caller, but wrong way ...

Jare

--
Jare
-----------------------------------------------------------------------
Jarek's Profile: http://www.excelforum.com/member.php...info&userid=96
View this thread: http://www.excelforum.com/showthread.php?threadid=26830


Tom Ogilvy

Calling Macro by different TextBoxes
 
An easier approach might be

Sub Textbox_Change()
msgbox _
Activesheet.Textboxes(Application.Caller).Text
End Sub

--
Regards,
Tom Ogilvy

"Jarek" wrote in message
...

Hello, Doug,
works perfectly, thank you very much!
I've tried Apllication.Caller, but wrong way ...

Jarek


--
Jarek
------------------------------------------------------------------------
Jarek's Profile:

http://www.excelforum.com/member.php...nfo&userid=965
View this thread: http://www.excelforum.com/showthread...hreadid=268307





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com