Guest_imported
New member
- Jan 1, 1970
- 0
I have a command button that pastes info to columns a to c. This info can be any number of rows long. The command then goes on to paste formulae from the first row columns say d to x to the same number of rows previously pasted onto columns a to c using a ActiveCell, ActiveCell.End command.
This works fine except went there's only 1 row to be copied. For some reason unknown to me it copies the formulae from the first row to the last row.
Eg.
Range("c8:U8".Select
Application.CutCopyMode = False
Selection.Copy
Range("C8".Select
Range(ActiveCell, ActiveCell.End(xlDown)).Select
Selection.PasteSpecial Paste:=xlFormulas, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Selection.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Please Help
This works fine except went there's only 1 row to be copied. For some reason unknown to me it copies the formulae from the first row to the last row.
Eg.
Range("c8:U8".Select
Application.CutCopyMode = False
Selection.Copy
Range("C8".Select
Range(ActiveCell, ActiveCell.End(xlDown)).Select
Selection.PasteSpecial Paste:=xlFormulas, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Selection.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Please Help