ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   code to merge cells with criteria (https://www.excelbanter.com/excel-programming/404255-code-merge-cells-criteria.html)

Kim

code to merge cells with criteria
 
Hi
I have a sheet which shows daily events over a month blocked off with a
colour shaded cell, when a pointer is hovered over a cell an inserted comment
box gives text info about the event. A few days have 2 events so differnt
colour shades. So to do this I merge the cells that are single events and
this lets me have two comment boxes in the two unmerged cells.
This means a lot of pairs of adjacent cells have to be be merged as there a
re more venues for each day.
Is there a way a macro or something could be run that would check the cell
to the left and it it was unshaded merge the two cells?
Thanks


All times are GMT +1. The time now is 11:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com