Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, this is my code, but i got a runtime error of 1004 when i run below:
Can someone help pls? Workbooks.Open ("H:\My WorkStation\PRCD\PRCDTEMP.XLS") Windows("PRCDTEMP.XLS").Activate Range("A2").Select Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select Selection.Copy Windows("PRCDTEMP.XLS").Close Workbooks.Open ("H:\My WorkStation\PRCD\" + strName) Windows(strName).Activate With Worksheets("Sheet1").Range("B65536").End(xlUp).Off set(1, 0) ..PasteSpecial xlValues .... it stops here! cannot paste due to range class failure... End With Application.CutCopyMode = False |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paste Special throwing an error | Excel Discussion (Misc queries) | |||
macro with paste special returns error | Excel Programming | |||
When paste special links the file name gives error | Excel Discussion (Misc queries) | |||
Cut and Paste using Macro gives paste special method error | Excel Programming | |||
Dynamic Copy/Paste Special Formulas/Paste Special Values | Excel Programming |