Thanks PHV and SkipVought,
@PHV - When I did initially try it that way it did not work.
I worked it out myself in the end.
Thank you both for your input.
Louis
Could someone please tell me how I can paste text using ".PasteAndFormat (wdFormatSurroundingFormattingWithEmphasis)" from a variable called copyBody into the range of two bookmarks in Word. I have written code on how I would like it to work -
copyBody =...
I was wondering if anybody could provide me with any sugguestions on how to solve my scenario in the most quickest and effective way. I have loads of templates that were created in Word 2003 and are now being copied over to Word 2010 to be saved as a .docx
I wrote a macro that would find text...
Hi Paul,
This worked beautifully. Thank you so much. Just for my learning purposes, could you please explain why you choose to use ".Duplicate.Select" and ".Find.Found "?
Im still unsure why my method did not initially work??
Louis
I have a document which selects the range between two bookmarks and then looks for any formatting e.g. bold, italic, bold italic, underline, keep with next, bullets and num etc. The reason for this is I am copying text (unformatted text) to a new document and then reapplying all the formatting...
Just to let you know that I got the answer (see below)
"Customization of ribbon from one add-in cannot be changed from another add-in. So what you want to achieve is not possible using VSTO/OOM.
I am working on a ribbon addin for Outlook 2010 using XML and VB callbacks (I have not used the ribbon designer) in Visual Studio 2010.
What I want to do is add a custom image to a button loaded by another addin. Using the code below the image appears on a standard button but not on the button...
I need to achieve selecting a button from MS Word and then getting a hyperlink in a email with the full UNC path to a document saved on the server.
I so far have achieved selecting a button within MS Word which captures the UNC network path name and document name and stores the full location...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.