#1   Report Post  
Shifting of Multiple Row to the right
 
Posts: n/a
Default macro

Hi can anyone help me with my problem?
Thanks in advance!

I had receive a compile data from one of my vendors and there is one
adjustment i need to make in order to alight with correct heading column. The
macro i had try to create doesn't really works. Cause it works only on one
selected rows.

Range("A752:H752").Select
Selection.Cut
Range("B752").Select
ActiveSheet.Paste

I need to amend about twenty thousand of selected rows in order to work on
the data.

Thx & regards
William
  #2   Report Post  
Gary''s Student
 
Posts: n/a
Default

Consider inserting a column rather than shifting cells.
--
Gary''s Student


"Shifting of Multiple Row to the right" wrote:

Hi can anyone help me with my problem?
Thanks in advance!

I had receive a compile data from one of my vendors and there is one
adjustment i need to make in order to alight with correct heading column. The
macro i had try to create doesn't really works. Cause it works only on one
selected rows.

Range("A752:H752").Select
Selection.Cut
Range("B752").Select
ActiveSheet.Paste

I need to amend about twenty thousand of selected rows in order to work on
the data.

Thx & regards
William

  #3   Report Post  
Shifting of Multiple Row to the right
 
Posts: n/a
Default

If so i still have to transfer the data from the current cells to the new
inserted column. So it still doesn't solve my problem... thanx anyway!

"Gary''s Student" wrote:

Consider inserting a column rather than shifting cells.
--
Gary''s Student


"Shifting of Multiple Row to the right" wrote:

Hi can anyone help me with my problem?
Thanks in advance!

I had receive a compile data from one of my vendors and there is one
adjustment i need to make in order to alight with correct heading column. The
macro i had try to create doesn't really works. Cause it works only on one
selected rows.

Range("A752:H752").Select
Selection.Cut
Range("B752").Select
ActiveSheet.Paste

I need to amend about twenty thousand of selected rows in order to work on
the data.

Thx & regards
William

  #4   Report Post  
Findeo
 
Posts: n/a
Default

I don't understand your problem at all, but using something like the next,
you can go across the lines you want

For lin = 1 To 2572 ' or what you need
Range("A" & lin, "H" & lin).Select
Selection.Cut
Range("B" & lin).Select
ActiveSheet.Paste
Next

Really, with this macro you obtains the same result as with "Insert Column"
mantioned previously.

Good luck
--
Findeo


"Shifting of Multiple Row to the right" wrote:

If so i still have to transfer the data from the current cells to the new
inserted column. So it still doesn't solve my problem... thanx anyway!

"Gary''s Student" wrote:

Consider inserting a column rather than shifting cells.
--
Gary''s Student


"Shifting of Multiple Row to the right" wrote:

Hi can anyone help me with my problem?
Thanks in advance!

I had receive a compile data from one of my vendors and there is one
adjustment i need to make in order to alight with correct heading column. The
macro i had try to create doesn't really works. Cause it works only on one
selected rows.

Range("A752:H752").Select
Selection.Cut
Range("B752").Select
ActiveSheet.Paste

I need to amend about twenty thousand of selected rows in order to work on
the data.

Thx & regards
William

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
Make Alignment options under format cells available as shortcut dforrest Excel Discussion (Misc queries) 1 July 14th 05 10:58 PM
Help with macro looping and color query function kevinm Excel Discussion (Misc queries) 10 May 26th 05 01:25 AM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM


All times are GMT +1. The time now is 08:35 AM.

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

About Us

"It's about Microsoft Excel"