Results 1 to 4 of 4

Application.Caller problem in Excel 2007

Threaded View

  1. #1
    Registered User
    Join Date
    08-19-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Application.Caller problem in Excel 2007

    Okay ... so I posted a thread a while ago about vertically flipping a shape in Excel when clicked, then returning the row number in which the shape is located. Solved that problem in Excel 2003 pretty quickly using the following code:

    ActiveSheet.Shapes(Application.Caller).Flip msoFlipVertical
    sRow = ActiveSheet.Shapes(Application.Caller).TopLeftCell.Row

    Works great in Excel '03 ... but falls flat on its face in Excel '07. Application.Caller is returning the first shape in the workbook regardless of which shape is clicked. Any ideas what's happening here or a workaround?

    Cheers =)
    Last edited by Moph; 08-28-2010 at 08:21 AM.

Thread Information

Users Browsing this Thread

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

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