andrewb90
Well-known Member
- Joined
- Dec 16, 2009
- Messages
- 1,077
Hello all,
I'm sure this is a pretty simple thing. I have a code that is copying visible cells to another sheet. However any merged cells that are within the range become unmerged and any font choices/color return to the default. I'm just not sure of the correct wording to put in the line.
I'm sure this is a pretty simple thing. I have a code that is copying visible cells to another sheet. However any merged cells that are within the range become unmerged and any font choices/color return to the default. I'm just not sure of the correct wording to put in the line.
Code:
Sheets("RostM").Select Sheets("RostM").Range("C3:F124").SpecialCells(xlCellTypeVisible).Copy
Sheets("R_MTu").Select
Range("Q3").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:=xlNone, SkipBlanks _
:=True, Transpose:=False