Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get object name for each sheet object

Hi Again

Now I'mplaying with adding aand removing objects

this script is totally wrong, but it gives you an insight on what I am tryiong to do - I've done it in VBa in excel, but ....

for each shobj in sheetobjects
     set box=shobj.GetProperties
     objName = box.ObjectId
     msgbox objName
next

In otherwords, I want to prove I can capture the objectID. THat way I can delete objects that I dont want

i.e. if object name <> "myobject" then delete kind of thing

Again assistance please

1 Reply
erichshiino
Partner - Master
Partner - Master

Hi, I created a small sample app for your case.

I made it if object.title = "name" , remove it just to don't lose all the objects in a single click...

I include message box to let you see what's going on in the code.

Hope this works for you,

Erich