Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Inserting a line....

I have two worksheets that I am comparing numbers on.
Sheet 1 Range ABC and sheet 2 range XYZ. If the numbers
match on both sheets I do not do anything. If they do not
match I insert (Selection.Insert Shift:=xlDown) the number
then loop through the process again. The problem I am
having is after I do an insert(Selection.Insert
Shift:=xlDown) it throws the line count off. For example
if I inserted a number in sheet 1 and the next number to
compare is row 2, It actually goes to row 3 because I
inserted a row. This now throws the whole comparison off.
Any Ideas on how to resolve this?

Thanks in advance!!

Brady Snow
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Inserting a line....

Hi
best way: start from the bottom. So move upwards. Same is true if you
want to delete rows

--
Regards
Frank Kabel
Frankfurt, Germany


Brady Snow wrote:
I have two worksheets that I am comparing numbers on.
Sheet 1 Range ABC and sheet 2 range XYZ. If the numbers
match on both sheets I do not do anything. If they do not
match I insert (Selection.Insert Shift:=xlDown) the number
then loop through the process again. The problem I am
having is after I do an insert(Selection.Insert
Shift:=xlDown) it throws the line count off. For example
if I inserted a number in sheet 1 and the next number to
compare is row 2, It actually goes to row 3 because I
inserted a row. This now throws the whole comparison off.
Any Ideas on how to resolve this?

Thanks in advance!!

Brady Snow


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
inserting a line between different data Outbacker Excel Discussion (Misc queries) 1 August 24th 07 06:32 PM
Inserting a line S.C Excel Worksheet Functions 1 April 10th 07 08:28 AM
Inserting an Image or Line BigPig Excel Discussion (Misc queries) 7 February 10th 06 02:14 AM
Inserting an image or line BigPig Excel Worksheet Functions 0 February 9th 06 07:24 PM
Inserting a new line in spreadsheet Rental Man Excel Discussion (Misc queries) 2 January 9th 06 04:55 PM


All times are GMT +1. The time now is 03:29 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"