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

Hi all i had a problem of shifting selected rows one cell to the right, the
data looks like this:-

328 Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
509 Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ALEX Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ALJ Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANCH Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANG Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANSON Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
BEDOK Sales $ 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
As what you have see the qnty column is not same as the sales column and i
had hundred thousand of rows to cut and paste.

Range("A746:H746").Select
Selection.Cut
Range("B746").Select
ActiveSheet.Paste
Range("A748:H748").Select
Selection.Cut

Range("B748").Select
ActiveSheet.Paste
Range("C749").Select
Is macro command able to solve the problem? like shifting selected multiple
rows one cells to the rigth.
  #2   Report Post  
Rowan
 
Posts: n/a
Default

See the response in your other post...

Shifting of Multiple Row to the right wrote:
Hi all i had a problem of shifting selected rows one cell to the right, the
data looks like this:-

328 Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
509 Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ALEX Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ALJ Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANCH Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANG Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANSON Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
BEDOK Sales $ 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
As what you have see the qnty column is not same as the sales column and i
had hundred thousand of rows to cut and paste.

Range("A746:H746").Select
Selection.Cut
Range("B746").Select
ActiveSheet.Paste
Range("A748:H748").Select
Selection.Cut

Range("B748").Select
ActiveSheet.Paste
Range("C749").Select
Is macro command able to solve the problem? like shifting selected multiple
rows one cells to the rigth.

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

Hi Rowan,

A million Thanks for your help.

Best Regards,
William

"Shifting of Multiple Row to the right" wrote:

Hi all i had a problem of shifting selected rows one cell to the right, the
data looks like this:-

328 Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
509 Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ALEX Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ALJ Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANCH Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANG Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANSON Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
BEDOK Sales $ 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
As what you have see the qnty column is not same as the sales column and i
had hundred thousand of rows to cut and paste.

Range("A746:H746").Select
Selection.Cut
Range("B746").Select
ActiveSheet.Paste
Range("A748:H748").Select
Selection.Cut

Range("B748").Select
ActiveSheet.Paste
Range("C749").Select
Is macro command able to solve the problem? like shifting selected multiple
rows one cells to the rigth.

  #4   Report Post  
Rowan
 
Posts: n/a
Default

you're welcome.

Shifting of Multiple Row to the right wrote:
Hi Rowan,

A million Thanks for your help.

Best Regards,
William

"Shifting of Multiple Row to the right" wrote:


Hi all i had a problem of shifting selected rows one cell to the right, the
data looks like this:-

328 Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
509 Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ALEX Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ALJ Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANCH Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANG Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
ANSON Sales $ 0 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
BEDOK Sales $ 0 0 0 0 0
Qnty 0 0 0 0 0 0 0
As what you have see the qnty column is not same as the sales column and i
had hundred thousand of rows to cut and paste.

Range("A746:H746").Select
Selection.Cut
Range("B746").Select
ActiveSheet.Paste
Range("A748:H748").Select
Selection.Cut

Range("B748").Select
ActiveSheet.Paste
Range("C749").Select
Is macro command able to solve the problem? like shifting selected multiple
rows one cells to the rigth.

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 create a command button, then assign macro to it in excel kshaheen Excel Discussion (Misc queries) 3 June 24th 08 01:03 PM
Macro command problem johncouzins Excel Discussion (Misc queries) 4 July 27th 05 09:10 PM
Assign a macro to Command Button Object dallin Excel Discussion (Misc queries) 2 July 13th 05 03:50 AM
2 part question - macro / command button John Excel Discussion (Misc queries) 3 April 16th 05 09:00 PM
macro ...if command, I suppose... Mario Excel Discussion (Misc queries) 4 December 11th 04 12:34 PM


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