Word Macro Behaves Badly Inside Content Control (Paste & Resize image)
i cobbled pretty cool macro internet, , works great regular word document. the use case has powerpoint slide bunch of stuff on (picture, boxes, text, arrows, etc.) ctrl-a, ctrl-c powerpoint, , before macro, ctrl-v (as jpg) into word , always have resize it . this macro resizes pastes it. can't figure out why same macro doesn't work if i'm in content control? don't error, "works" in sense powerpoint content saved jpg word, won't resize it. it's code runs, somehow pasted image inside content control read-only or properties read-only. can explain behavior? application.screenupdating = false selection.pastespecial link:=false, datatype:=15, placement:=wdinline, displayasicon:=false 'get image added (last image, li) li = activedocument.inlineshapes.count activedocument.inlineshapes(li).lockaspectratio = msotrue activedocument.inlineshapes(li).height = 0.64 * activedocument.inlineshapes(li).height application.screenupdating = tru...