Quantcast
Channel: How to merge different rows in Excel based on a condition
Browsing latest articles
Browse All 4 View Live

How to merge different rows in Excel based on a condition

This will do what you want.Sub Macro() Dim lngRow As Long For lngRow = ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row To 2 Step -1 If StrComp(Range("B" & lngRow), Range("B" & lngRow - 1),...

View Article



How to merge different rows in Excel based on a condition

Re: adusting comments - 2nd version A different interpretation of the question... '--- Sub testExample()  Dim strEntry As String  strEntry = Range("C2").Comment.Text & " " &...

View Article

How to merge different rows in Excel based on a condition

Re:  adjusting comments Delete the unwanted comment...     Range("C3").Comment.Delete Double the heigth of the other comment...   Range("C2").Comment.Shape.Height = Range("C2").Comment.Shape.Height *...

View Article

Image may be NSFW.
Clik here to view.

How to merge different rows in Excel based on a condition

Hi,I have a sheet having 4 columns, through VBA macro, I am inserting rows on button click.What i want is that, when  Epic column values are same than comments cell range should be merged.Please see...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images