LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kim Kim is offline
external usenet poster
 
Posts: 284
Default 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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrap Text with merge cells code Damian Excel Discussion (Misc queries) 0 August 25th 09 05:13 PM
How do I merge duplicated data in rows with different criteria Sigourney-Leigh Excel Discussion (Misc queries) 1 July 8th 09 08:37 AM
Code launches Mail Merge but disables the Mail Merge austris Excel Discussion (Misc queries) 0 October 14th 06 01:11 AM
How to merge cells in Word document by VBA code?? SiriS Excel Discussion (Misc queries) 0 May 4th 06 12:03 PM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM


All times are GMT +1. The time now is 03:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"