Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-07-2012, 07:21 AM
delasson delasson is offline Compare content of two ranges INCLUDING FORMATTING Windows 7 32bit Compare content of two ranges INCLUDING FORMATTING Office 2010 32bit
Novice
Compare content of two ranges INCLUDING FORMATTING
 
Join Date: Dec 2012
Posts: 2
delasson is on a distinguished road
Default Compare content of two ranges INCLUDING FORMATTING

I'm comparing the content of two ranges in Word like this:

If range1.Text = range2.Text Then
...


EndIf

This works fine for actual content, but I would like to include text formatting into the comparrison as well. So if I have two ranges with the same text, BUT the text in range1 is bold, I would like the comparrison to return false.

Any ideas?

Thanks
Reply With Quote
 

Tags
compare, formatting, range



Similar Threads
Thread Thread Starter Forum Replies Last Post
WDFormatOriginalFormatting does not retain formatting when content pasted from RTF ramsgarla Word Tables 1 10-05-2012 02:35 AM
Send Email with VBA while also including formatting tylerg11 Outlook 0 07-27-2012 10:49 AM
Compare content of two ranges INCLUDING FORMATTING Rich Text Content Control - Allow User Formatting keithacochrane Word 1 05-28-2012 05:06 PM
How to use named ranges in excel vba? bosve73 Excel Programming 4 01-25-2012 09:26 AM
Compare content of two ranges INCLUDING FORMATTING Using COMPARE to compare more than two variables Wyskers Word 1 12-03-2011 01:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:51 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