I tried to post in an old thread about a similar problem, but it was a 2 year old thread so I guess no one saw it.
However, this code merges all weeks that have the same weeknumber into one cell. The weeknumbers are listed in a column.
The code comes from arlu1201 and works perfectly for the matter where the weeknumbers are listed in a column and thus the cells in each row merge.
So my problem is that I have the weeknumbers listen in a row instead. (see ex.) I am not good at all with VBA and I wonder if the code can be rewritten to work for merging of columns instead.
Link to the old thread: http://www.excelforum.com/excel-gene...ml#post3738416
Thanks in advance.
Bookmarks