I have a large book written in Microsoft Word and want to create a macro that will find all text using a predefined style and convert that text to an inline image. This text will be in Arabic and generally no longer than 4-5 lines. Is this possible?

UPDATE: Here's an example to show what I'm referring to:

enter image description here

I want to replace that entire line in Arabic with an image (as if I cropped this attached image to only include the Arabic and then replaced the line in Arabic with the image). The reason I want a macro or script to do this is because there are hundreds of such lines and updating them one by one is cumbersome plus that will make modifications difficult later on.

link|improve this question
I think the answer is: "Yes this is possible" but there are some issues. You will get more viewers who could help if you move your question to Stack Overflow and tag it vba and word-vba. What is the predefined style? What do you mean by an inline image? Would a text box or a single-cell table be acceptable? A before and after description or image would help in understanding what you seek. – Tony Dallimore Jan 16 at 10:04
as @Tony mentions, please be specific in what you want to achieve - it's difficult to answer. Once you've done so, please flag for reopen/migration to Stack Overflow if required – Sathya Jan 16 at 11:52
What I mean by an image is just like a PNG attachment inline, something that does not require Arabic support to be displayed when I export to multiple destinations. When I open this existing file on my Kindle Fire it will show the Arabic all garbled up. – Abdullah Jibaly Jan 16 at 20:26
Thanks for the advice on moving to SO, went ahead and flagged it. – Abdullah Jibaly Jan 16 at 20:27
1  
General advice. Make sure you are asking your real question. My most difficult clients are those that ask obscure questions about technology X. Only after detailed questioning do I discover that they have decided that technology X is the solution to their problem and that the real problem is quite simple if tackled another way. – Tony Dallimore Jan 16 at 20:49
show 4 more comments
feedback

closed as not a real question by Sathya Jan 16 at 11:52

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.

Browse other questions tagged or ask your own question.