+ Reply to Thread
Results 1 to 4 of 4

Using Application.caller with Shapes

  1. #1
    Forum Contributor
    Join Date
    11-21-2013
    Location
    KL
    MS-Off Ver
    Excel 2010
    Posts
    168

    Using Application.caller with Shapes

    Hi all,

    I have multiple same shapes in the same column, wih each of them 6 rows apart.

    I would like to write one single macro and assign to each shapes, so that when I click on any of the shape, the 6 rows under the shape will be hidden.
    For example, my first shape is embedded on L18. When I click on it, I want L19:L24 to be hidden.

    Below are the codes that I tried, but keep showing object require error

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Any assistance is very much appreciated.

    Thank you!

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Using Application.caller with Shapes


    Hi,

    check first what returns Caller property and without notice which line runs the error and its exact message
    neither a workbook attached …

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Using Application.caller with Shapes

    Try this change to your code:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  4. #4
    Forum Contributor
    Join Date
    11-21-2013
    Location
    KL
    MS-Off Ver
    Excel 2010
    Posts
    168

    Re: Using Application.caller with Shapes

    Hi Roy,

    Thank you very much for your suggestion!
    It works as I intended to.

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Crazy Buttons(application.caller) bug?
    By Rodrigofrb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-05-2011, 04:38 PM
  2. [SOLVED] application caller
    By Rich in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2006, 07:35 AM
  3. Application.Caller
    By Marcelo in forum Excel General
    Replies: 6
    Last Post: 06-23-2006, 10:10 AM
  4. [SOLVED] range moves with application caller
    By ME @ Home in forum Excel General
    Replies: 1
    Last Post: 02-20-2006, 10:25 AM
  5. Row = Application.Caller.Row
    By Charles Woll in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-28-2005, 10:06 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1