Hi All,
For some reason I'm unable to paste special --> Values in my macro so I can keep the formatting where I'm pasting it.
I used the macro recorder to get the code but when for some reason it doesn't work. However if I use a normal paste, it works fine.
Here is the code:
Does anyone know what could be causing this?
For some reason I'm unable to paste special --> Values in my macro so I can keep the formatting where I'm pasting it.
I used the macro recorder to get the code but when for some reason it doesn't work. However if I use a normal paste, it works fine.

Here is the code:
Code:
Sub Copy_to_Filled()
'
' Copy_to_Filled Macro
'
' This macro automatically cuts the appropriate fields and pastes it in the filled reports sheet.
Dim rownum As Single
rownum = ActiveCell.Row
Range("A" & rownum & ":N" & rownum & "").Select
'ActiveCell.Offset(0, -8).Range("A1:N1").Select
Selection.Cut
Sheets("Proto - Filled Roles").Select
'goes to the row just below the last filled row
ActiveSheet.Range("a65536").End(xlUp).Offset(1, 0).Select
'Pastes the selection into the filled roles sheet
'I've commented out the ActiveSheet.Paste below to try the paste special
'ActiveSheet.Paste
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
'go back and remove the now blank row
Sheets("Proto - Open Roles").Select
Selection.Delete Shift:=xlUp
'return to the Filled Roles Page
Sheets("Proto - Filled Roles").Select
Does anyone know what could be causing this?