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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

attach / detach

Hello

How can I check using a macro if the sheet object is attached or detached?

I can walk on water when it freezes
4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

sub IsDetached

set chart = ActiveDocument.GetSheetObject( "CH01" )

set p = chart.GetProperties

msgbox p.Detached

end sub


talk is cheap, supply exceeds demand
jagan
Partner - Champion III
Partner - Champion III

Hi,

I checked there is no property to check whether an object is Attach or Detach.  You can attach or detach an object.

Check attach file.

Regards,

Jagan.

jagan
Partner - Champion III
Partner - Champion III

Great Gysbert.

whiteline
Master II
Master II

Hi.

I checked...

Look carefully what Gysbert suggested.

There is GetProperties method.