Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Compare Differences in Blank Ranges across sheets

I have blank cells on Sheet1. I am using the following code to print out a
range of blank addresses to the immediate window:

Selection.SpecialCells(xlCellTypeBlanks).Select
Debug.Print Selection.Address

$C$1:$E$2,$A$1:$A$2,$G$1:$G$2,$C$3:$D$3,$F$1:$F$3, $C$4:$G$6,$B$1:$B$5,$A$4:$A$6

Now I have copied the data on this sheet to a second sheet and purposely
inserted two rows (3 and 7) and two columns (E and H). When I rerun the
code, I get a revise list of addresses below

$C$1:$I$3,$A$1:$A$3,$C$4:$E$4,$G$4:$H$4,$C$5:$I$8, $B$1:$B$7,$A$5:$A$8

Here is my question: Is there a way in VBA to compare the two multiple
range strings to back into which rows/columns were inserted?

Thanks

EM
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compare worksheets so differences are identified Debilin Excel Worksheet Functions 1 July 9th 09 02:21 PM
Compare and Highlight Differences RyGuy Excel Programming 5 September 25th 07 03:50 AM
Compare data with in a couple of sheets then output to a blank sheet Sabo, Eric Excel Programming 0 February 22nd 06 03:00 PM
Compare and report differences. Pete Excel Programming 0 November 9th 05 03:20 PM
Compare 2 columns to see differences Bugaglugs Excel Worksheet Functions 4 July 13th 05 02:55 AM


All times are GMT +1. The time now is 04:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"