Miguel Freire
New Member
Hey, everyone!
Im a real zero when it comes to macro and, actually, any type of programming, so i was looking for some help...
Well, i was in need of a macro that would make all the cells inside my selection "skip" onto the next empty cell. This mustn't use any cut and paste, since this seems to cause the other formulas in the spreadsheet to become broken. Also, this needs to be ciclical, so that, if a value is on the last (top-down) cell of a selection, it will jump to the first empty cell on that selection. this should work across multiple columns too. Oh, and last thing, there are some cells, which on my spreadsheet are colored, which i wish to Always stay in place and should not be moved by the macro. =P
For example, on column A, lets say i have the following values, 0 being an empty cell.
A1 - 0
A2 - 3
A3 - 5 - colored
A4 - 0
A5 - 4
A6 - 0
After using the macro, this should be:
A1 - 0
A2 - 0
A3 - 5
A4 - 3
A5 - 0
A6 - 4
Thanks in advance!
Im a real zero when it comes to macro and, actually, any type of programming, so i was looking for some help...
Well, i was in need of a macro that would make all the cells inside my selection "skip" onto the next empty cell. This mustn't use any cut and paste, since this seems to cause the other formulas in the spreadsheet to become broken. Also, this needs to be ciclical, so that, if a value is on the last (top-down) cell of a selection, it will jump to the first empty cell on that selection. this should work across multiple columns too. Oh, and last thing, there are some cells, which on my spreadsheet are colored, which i wish to Always stay in place and should not be moved by the macro. =P
For example, on column A, lets say i have the following values, 0 being an empty cell.
A1 - 0
A2 - 3
A3 - 5 - colored
A4 - 0
A5 - 4
A6 - 0
After using the macro, this should be:
A1 - 0
A2 - 0
A3 - 5
A4 - 3
A5 - 0
A6 - 4
Thanks in advance!