Minggu, 21 Desember 2014

[ExcelVBA] Detect which shape "starts" a macro

 

In a worksheet there are several shapes.

They are all assigned to the same macro.

Is it possible in the macro to detect which skape that was "clicked on" to start the macro?

I wish the macro to do different tasks dependent on which shape that started it!

Is there a sort of activeShape object?

Regards and Merry Christmas to all of you Excelers!

Torstein Johnsen

__._,_.___

Posted by: Torstein Johnsen <sejohnse@yahoo.no>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------

.

__,_._,___

Tidak ada komentar:

Poskan Komentar