Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Moving rows with out removing from range


Rather than cut and paste rows, if there a way to select a range
of row and just move them up or down a set number of rows? The Pseudo
code below gives an idea of the context of what I am doing. The * line
is the one in question

Compare code
IF need to move up THEN
SELECT Rows for this Record.
*MOVE SELECTED Range up or down # of rows. *
END IF
Select Current

I asked this question previously and someone posted the Cut and
insert rows method; however, after testing it will not work. The rows
being moved are part of a ranged and cutting removes them from the
data range for that sheet. For some reason all the cells in the range
are removed as well.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Moving rows with out removing from range


NM I got it to wok as I wanted it to. Thanks!

On Fri, 15 Dec 2006 11:47:21 -0500, None wrote:


Rather than cut and paste rows, if there a way to select a range
of row and just move them up or down a set number of rows? The Pseudo
code below gives an idea of the context of what I am doing. The * line
is the one in question

Compare code
IF need to move up THEN
SELECT Rows for this Record.
*MOVE SELECTED Range up or down # of rows. *
END IF
Select Current

I asked this question previously and someone posted the Cut and
insert rows method; however, after testing it will not work. The rows
being moved are part of a ranged and cutting removes them from the
data range for that sheet. For some reason all the cells in the range
are removed as well.

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
Moving data from one worksheet to another whilst removing the data Dobbin0_4[_2_] Excel Discussion (Misc queries) 2 September 17th 08 03:31 PM
Moving data from multiple rows to single rows Pete Excel Worksheet Functions 5 February 16th 08 01:51 PM
Finding criteria and removing matching rows (Range issue?) Ronny Hamida Excel Programming 2 April 13th 06 04:20 PM
Removing 1st four rows from a range Harry Tuttle Excel Programming 1 December 22nd 05 03:12 PM
Removing Empty Rows and selecting Specific Rows Jetheat[_8_] Excel Programming 7 August 12th 05 12:10 AM


All times are GMT +1. The time now is 10:59 PM.

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"