
Originally Posted by
pike
Hi örjan
Welcome to the forum
Why do you need to go that way??
Why not just filter out the Blank cells with the filter option or shift all the data down one row then filter out the blanks?
Hi pike,
Thanks for your reply!
Because I need every row to be in the file twice and the first one hidden.
When I have that, I´ll import it to a translation tool where hidden rows are not shown/translated. (I do not know how the tool treats filtered rows.)
When the translation is done and the file exported from the tool, I´ll hopefully will have a file with alternating rows of source and target language.
Yesterday evening I played around until I had this macro:
Trouble is, it does not work when the rows are hidden and therefore I must do the hiding afterwards.
I have been thinking about inserting a column with alternating '1' and '2' cells and sort on that. Then I could hide all '1' rows. But it depends on the table being absolutely regular. One missing or extra row and everything goes havoc.
When I posted yesterday I thought maybe it would be possible to somehow first only show non-blanks rows, select, copy, then only show blank rows and insert there. Is it? Would it be more safe?
Regardless of the method I´ll finally use, I have to somehow check that the resulting structure is correct.
BR,
Örjan
Bookmarks