Hi all,
Does anyone have a macro that will do the following??
In table 1 you will see that not all rows contain data (this is because i have removed it previously with a macro) the second table shows what i want the macro to do but without deleting rows:
<tbody>
</tbody>
<tbody>
</tbody>
So basically i would like a macro to search for the first none blank value in column A and copy the row to the first available blank row , it also needs to blank out that row once done. i.e row 3 would be moved up to row 2, 5 up to 3, 7 up to 4 etc etc.
The hidden rows contain formulas which cannot be deleted or my ws goes Pete Tongue.
Many Thanks
Woody
Does anyone have a macro that will do the following??
In table 1 you will see that not all rows contain data (this is because i have removed it previously with a macro) the second table shows what i want the macro to do but without deleting rows:
A | Hiddenrow with formula | B | C | D | E | Hiddenrow with formula | F | |
1 | Order No | Hidden | Name | Address 1 | Address 2 | Post Code | Hidden | Dispatched |
2 | ||||||||
3 | 12345 | Smith | 10 The Place | LONDON | SW1 1SW | No | ||
4 | ||||||||
5 | 98765 | Jones | 9 The Place | Mancs | M15 6TH | No | ||
6 | ||||||||
7 | 45678 | Brown | Blah blah | Blah | Blah | No |
<tbody>
</tbody>
A | Hiddenrow with formula | B | C | D | E | Hiddenrow with formula | F | |
1 | Order No | Hidden | Name | Address 1 | Address 2 | Post Code | Hidden | Dispatched |
2 | 12345 | Smith | 10 The Place | LONDON | SW1 1SW | No | ||
3 | 98765 | Jones | 9 The Place | Mancs | M15 6TH | No | ||
4 | 45678 | Brown | Blah blah | Blah | Blah | No | ||
5 | ||||||||
6 |
<tbody>
</tbody>
So basically i would like a macro to search for the first none blank value in column A and copy the row to the first available blank row , it also needs to blank out that row once done. i.e row 3 would be moved up to row 2, 5 up to 3, 7 up to 4 etc etc.
The hidden rows contain formulas which cannot be deleted or my ws goes Pete Tongue.
Many Thanks
Woody