Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Below is a snippet of code taken from a larger piece of code. A get a runtime error with the line under "ActiveSheet.Paste" highlighted in the debugger: Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False any help? can't figure out how to use similar responses on the discussion groups to fix... thanks very much. SteveC starting code... then Range("A1:IV65536").Select Selection.Copy ThisWorkbook.Activate Sheets(ShName).Select ActiveSheet.Paste Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _ SkipBlanks:=False, Transpose:=False Selection.PasteSpecial Paste:=xlPasteColumnWidths, Operation:=xlNone, _ SkipBlanks:=False, Transpose:=False Range("A1").Select code continues... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run-Time error'1004' PasteSpecial Method of Worksheet class failed | Excel Programming | |||
PasteSpecial Method of Range Class Failed Error | Excel Programming | |||
runtime error 1004 pastespecial method of range class failed | Excel Programming | |||
PasteSpecial method of Range class failed | Excel Programming | |||
Run-time error '1004' PasteSpecial Method of Range Class Failed | Excel Programming |