#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Moving Row

How can I move entire row after one cell value change to Yes, then the row
will move to another location after another row below.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Moving Row

Record a macro while doing to see what you get. Post back with your macro
for more help

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
How can I move entire row after one cell value change to Yes, then the row
will move to another location after another row below.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Moving Row

Thanks Don,

I record a macro and it's working, but why the macro apply for all the
worksheet, it will apply only once for each macro run.

"Don Guillett" wrote:

Record a macro while doing to see what you get. Post back with your macro
for more help

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
How can I move entire row after one cell value change to Yes, then the row
will move to another location after another row below.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Moving Row

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You send a clear explanation of what you want
3. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
Thanks Don,

I record a macro and it's working, but why the macro apply for all the
worksheet, it will apply only once for each macro run.

"Don Guillett" wrote:

Record a macro while doing to see what you get. Post back with your macro
for more help

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
How can I move entire row after one cell value change to Yes, then the
row
will move to another location after another row below.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Moving Row

The file sent to you.

"Don Guillett" wrote:

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You send a clear explanation of what you want
3. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
Thanks Don,

I record a macro and it's working, but why the macro apply for all the
worksheet, it will apply only once for each macro run.

"Don Guillett" wrote:

Record a macro while doing to see what you get. Post back with your macro
for more help

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
How can I move entire row after one cell value change to Yes, then the
row
will move to another location after another row below.






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Moving Row

Sub MoveRowToFilesSentToTaqiSAS()
'Select any cell on the desired row and execute to move that row
r = ActiveCell.Row
dr = Columns("A:C").Find(What:="FILES SENT TO TAQI", _
LookIn:=xlValues, LookAt:=xlWhole, SearchOrder:=xlByRows, _
SearchDirection:=xlNext, MatchCase:=False).Row + 1
If r < 4 Or r dr - 1 Then Exit Sub
Cells(r, 2) = "J.R."
Rows(r).Cut
Rows(dr).Insert
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
File sent to you now.

"Don Guillett" wrote:

No file received.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
The file sent to you.

"Don Guillett" wrote:

If desired, send your file to my address below. I will only look
if:
1. You send a copy of this message on an inserted sheet
2. You send a clear explanation of what you want
3. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
Thanks Don,

I record a macro and it's working, but why the macro apply for all
the
worksheet, it will apply only once for each macro run.

"Don Guillett" wrote:

Record a macro while doing to see what you get. Post back with your
macro
for more help

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
How can I move entire row after one cell value change to Yes,
then
the
row
will move to another location after another row below.







  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Moving Row

Thanks Don

"Don Guillett" wrote:

Sub MoveRowToFilesSentToTaqiSAS()
'Select any cell on the desired row and execute to move that row
r = ActiveCell.Row
dr = Columns("A:C").Find(What:="FILES SENT TO TAQI", _
LookIn:=xlValues, LookAt:=xlWhole, SearchOrder:=xlByRows, _
SearchDirection:=xlNext, MatchCase:=False).Row + 1
If r < 4 Or r dr - 1 Then Exit Sub
Cells(r, 2) = "J.R."
Rows(r).Cut
Rows(dr).Insert
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
File sent to you now.

"Don Guillett" wrote:

No file received.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
The file sent to you.

"Don Guillett" wrote:

If desired, send your file to my address below. I will only look
if:
1. You send a copy of this message on an inserted sheet
2. You send a clear explanation of what you want
3. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
Thanks Don,

I record a macro and it's working, but why the macro apply for all
the
worksheet, it will apply only once for each macro run.

"Don Guillett" wrote:

Record a macro while doing to see what you get. Post back with your
macro
for more help

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Misho" wrote in message
...
How can I move entire row after one cell value change to Yes,
then
the
row
will move to another location after another row below.








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
Tab moving down, not right BorisS Excel Discussion (Misc queries) 0 June 2nd 09 09:12 AM
Moving Data between sheets in the same workbook and moving data between Workbooks. Alison Brown Excel Worksheet Functions 0 February 10th 09 01:03 AM
Arrow Keys Moving Window Frame instead of Moving Between Cells nemmex Excel Discussion (Misc queries) 2 April 9th 07 09:08 AM
How to pick one or more items out of a list, moving to new list, moving up or down. (form) Subteam Excel Discussion (Misc queries) 3 February 17th 06 04:13 AM
moving sum neda5 Excel Discussion (Misc queries) 3 January 28th 05 07:19 PM


All times are GMT +1. The time now is 07:15 PM.

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"