Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 04-02-2015, 07:52 AM
ksigcajun ksigcajun is offline Code doesnt work properly Windows 7 64bit Code doesnt work properly Office 2010 64bit
Advanced Beginner
Code doesnt work properly
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by gmayor View Post
There is no 'pasting' involved. However add a line to reset the font and it works fine here.

Code:
If ActiveDocument.Bookmarks.Exists("BM7") Then
        Set orng = ActiveDocument.Bookmarks("BM7").Range
        orng.Text = strDetails
        orng.Bookmarks.Add "BM7"
        orng.Font.Reset
Now its always displaying the text as Verdana, 10, italic and in blue.

Even when I correct it as Arial, 10, black....it still switches back when I change the drop down option.

Any suggestions?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting and Inserting in Track Change doesnt work balaji.c Word 10 01-02-2014 12:14 AM
Powerpoint save as WMV but media doesnt work. hooney PowerPoint 0 02-21-2013 09:45 PM
Safe Senders Doesnt work Anil Kaul Outlook 0 11-16-2012 01:28 PM
Code doesnt work properly Command Button doesnt work on network rmw85 Word VBA 1 04-25-2012 01:02 PM
Code doesnt work properly My Product code doesnt work!!!! PLEASE HELP dukquaknoobhack Office 1 01-05-2012 03:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:58 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft