Jump to content
Developer Wiki and Function Reference Links ×

Handle to the worksheet that is executing a worksheet script?


Recommended Posts

Hello External Brain,

 

Did we every talk about or solve the problem of having a worksheet script get a handle to the worksheet it is in?

 

I need this for something I am working on. 

 

Basically I want a worksheet script to create a viewport of the worksheet the script is running in. So I need to get a handle to the worksheet so I can create a new Layer with an image of the worksheet on it to display in the viewport.

 

I am hoping that I can make it work so that if multiple worksheets all have the script installed, they will all operate independently when you run the Recalculate All command.

 

Any ideas or remembrances?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...