Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Unlink a chart with vbscript

Hello everyone

I would like to write a macro that unlinks a chart after the script has run. Same menu-function as if you right-click on the object.

I have searched the web for the command. No luck.

Anyone that has this code and would like to share it?

Have a nice day

1 Solution

Accepted Solutions
flipside
Partner - Specialist II
Partner - Specialist II

Do you mean "detach"?

ActiveDocument.GetSheetObject("CH01").Detach

flipside

View solution in original post

2 Replies
flipside
Partner - Specialist II
Partner - Specialist II

Do you mean "detach"?

ActiveDocument.GetSheetObject("CH01").Detach

flipside

Not applicable
Author

IT WORKED!!!!

Thanks!