+ Reply to Thread
Results 1 to 3 of 3

determine the workbook from which a process is called

  1. #1
    Forum Contributor
    Join Date
    09-30-2009
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    274

    determine the workbook from which a process is called

    Hi,

    is there any way to determine from which workbook a process has been called ?
    I call remotely a function by clicking on a shape, but then using application.caller only returns the name of the shape
    I tried to get to parent and so on, but it does not work

    any workarounds / better ways to do this?

    thank you!

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: determine the workbook from which a process is called

    if it's called from clicking a shape then Activeworkbook
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    09-30-2009
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    274

    Re: determine the workbook from which a process is called

    of course! didn't think of that! even if later I think I switch focus, right when the function is called I can determine who made the call...
    thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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