Dieter @ DWorks 24 Posted August 9, 2006 hey, How can you delete a worksheet? And how to select one with a specific name (or get the handle of it)? Quote Share this post Link to post
Michael_Eschenbach 0 Posted August 9, 2006 If you have a worksheet on your drawing and you wish to delete it from the page, just select it and delete it..... If you wish to delete it from the file, click on the worksheet. to determine its name, look in the OIP (object info palatte). Once you know its name, go into the rescource browser and work your way down to worksheets, find the one you wish to delete and control click on it (mac), and select delete. Quote Share this post Link to post
Dieter @ DWorks 24 Posted August 9, 2006 What i mean is how can you delete is from inside a script! Quote Share this post Link to post
MullinRJ 202 Posted August 9, 2006 Funny you should ask. The same question was posted on the VS List last week. This was my answer then, and I'm sticking to it. If you have a handle to it, use DelObject(WSHnd); That should work. Also, DelObject(GetObject('WS Name'); should work if you don't yet have the handle. Raymond Quote Share this post Link to post