Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
can somone tell me why the attached code will not work it works for the first
range only but when others added it fails also how do you clear outline of copied cells, i used range ("D9").Select but no good.Could someone help please -- Private Sub Workbook_Open() Workbooks("Staff Details").Activate Range("I4:I10")("C4")("C9")("G9").Select Selection.Copy Worksheets("Payslip").Activate Range("B2:B8", "C11", "K11", "K12").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Range("D9").Select End Sub BD3 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't Copy and Paste or Paste Special between Excel Workbooks | Excel Discussion (Misc queries) | |||
copy and paste using code from workbook to workbook | Excel Discussion (Misc queries) | |||
copy paste | Excel Discussion (Misc queries) | |||
I cannot paste from one workbook to another. Copy works, paste do. | Excel Discussion (Misc queries) | |||
Can't Copy and Paste between Excel 2003 Workbooks | Excel Discussion (Misc queries) |