• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA to Relocate & Resize merge cells with text

ALAMZEB

Member
Hi
I am unsuccessful in generated macros that will relocate and resize Comment box (merge cells) to different position if B119 is anything but “SELECT TYPE”
Attached below will give you clear picture
 

Attachments

  • Macro to export contents.xlsx
    10.8 KB · Views: 3
VBA & Merged cells do not play nicely together. IMO, it's better to avoid merged cells altogether as they cause many problems with sorting, filtering, VB, etc.

In your case, do we need to transfer the coloring of cells, or just the contents?
 
Hi Luke

The color is same for both location. I am using Light blue template. attached below is the exact color of template
Once again thanks for helping out.
 

Attachments

  • Macro to export contents.xlsx
    11.5 KB · Views: 2
Here's how I would do it. Uses a simple formula and some conditional formatting, rather than having to use a macro.
 

Attachments

  • ExportContents.xlsx
    12.5 KB · Views: 2
Back
Top