shiva_reshs
Board Regular
- Joined
- Sep 5, 2012
- Messages
- 68
Hello,
I am triyng to merge last cell with value in A column. Merge should happen till E. It is just Last cell merge
Something not working well on it on red line.
I am triyng to merge last cell with value in A column. Merge should happen till E. It is just Last cell merge
Code:
Dim lrow As Long
With x.Sheets("WEEK 1")
lrow = .Range("A" & .Rows.Count).End(xlUp).Row
.Range("A" & lrow - 1, "M" & lrow).Copy
With y.Sheets("WEEK 1")
Range("A" & Rows.Count).End(xlUp).Offset(2).PasteSpecial xlPasteAll
Range("A" & Rows.Count).End(xlUp).Value = "Wk2"
Range("A" & Rows.Count).End(xlUp).Offset(2).Value = "Wk1 + Wk2"
[COLOR=#ff0000]Range("A" & Rows.Count).End(xlUp).Offset(0, 5).Merge[/COLOR]
Something not working well on it on red line.