Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-10-2021, 04:05 AM
CharlieM CharlieM is offline Duplicating Ranges and changing Font Attributes Windows 10 Duplicating Ranges and changing Font Attributes Office 2016
Novice
Duplicating Ranges and changing Font Attributes
 
Join Date: Aug 2021
Posts: 2
CharlieM is on a distinguished road
Default

OK, I have re-created the style as a linked paragraph and character style, but now my ".Find" loop never finds it!
With rg.Find
.Forward = True
.Format = True
.Wrap = wdFindContinue
.Style = "MyStyle"
allTheTips = ""

Do While .Execute
rg.Select()


... ' Processing happens here...
...
Loop
End With

I have given the new style the same name as the old style (which I have deleted). I am wondering if I have discovered a Word 'idiosyncracy'?!
Reply With Quote
Reply

Tags
copying ranges, range styles/fonts



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write individual lines of text with changing attributes. sts023 Word VBA 0 05-26-2019 07:43 AM
Duplicating Ranges and changing Font Attributes Take String of numbers, expand ranges, sort, then compress back into ranges AustinBrister Word VBA 19 08-22-2016 05:18 PM
Changing font TonyH Outlook 0 05-22-2014 07:58 AM
Duplicating Ranges and changing Font Attributes Changing font in VBA blaze Word VBA 1 04-15-2012 02:21 AM
changing font size without changing leading carolns Word 1 09-14-2009 12:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:42 AM.


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