Word VBA updating LinkFormat.SourceFullName to update a graphic link -


जब मैं निम्न कोड का उपयोग करता हूं

  प्रत्येक एस में ActiveDocument। InlineShapes के लिए यदि InStr ( S.LinkFormat.SourceFullName, searchFor) & gt; 0 तब s.LinkFormat.SourceFullName = "http: //mynewlink.gif" अंत अगर अगला  

यह बिना त्रुटि के निष्पादित करता है लेकिन s.LinkFormat.SourceFullName अपरिवर्तित रहता है। ऐसा लगता है कि यह केवल लॉक या पठन है, लेकिन मैं कहीं भी नहीं देख सकता जहां यह हो सकता है।

आपको कॉल करने की आवश्यकता है

  s.LinkFormat.Update  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -