I have an excel spreadsheet that I am trying to format. Each time the spreadsheet is of the same format but with differing amount of numbers. I.e. sometimes it will be a set of 3, the next time might be 6.
I want to write a macro that will find a set piece of text, move it offset(-1,2) and then find the next one.
For example....
| Column |
|MF1 |
|MF2 |
. |
. |
. |
|MFn |
The text to search for is MF1, then MF2 until it does not find it.
So I thought it out something like (in non VB code!):
Find MF1, Select
Selection.Cut
ActiveCell.Offset(-1, 2).Select
ActiveSheet.Paste
Find MF2, Select
etc.
Until Can't find next MFn.
Cheers in advance.
Cei
Bookmarks