I have a range of cells which are copied and then pasted at the bottom of a sheet. However the cell height is not being copied. Which means that the cells in the pasted range look very clustered and also do not fill a page as I would like.
This is the code I am currently using
What do I need to add, to ensure that the cell height is always copied?
This is the code I am currently using
Code:
Sheets("Report").UnProtect Password:="Password"
Range("A220:N264").Select
Selection.Copy
Range("A265:N309").Select
Selection.EntireRow.Hidden = False
ActiveSheet.Paste
ApplicationCutCopyMode = False
ActiveSheet.PageSetup.PrintArea = "$A$1:$N$309"
ActiveSheet.HPageBreaks.Add Before:=Range("A265")
What do I need to add, to ensure that the cell height is always copied?