Home |
Search |
Today's Posts |
#11
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I think I have a similar problem as SiriS. Part of my coding is as follows: ChDir "C:\Done" FDir = "C:\Done\" Workbooks.Open FileName:=FDir + GetFileName(x) Windows(GetFileName(x)).Activate Sheets("NewConds").Select Cells.Select Selection.Copy Windows("New Book.xls").Activate Sheets("NewConds").Select Cells.Select ActiveSheet.Paste When the Macro ran to the line ActiveSheet.Paste, an error message will be prompted as follows: Run-time error '-2147417848 (80010108)': Method 'Paste' of object '_worksheet' failed In fact, I don't know why it happened. I use these codings before and they are Ok. Same as SiriS, I am using Excel 2002. Can someone here help us to solve the problem? Thanks! --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy rows from one Data sheet to another sheet based on cell conte | Excel Discussion (Misc queries) | |||
Auto Copy/autofill Text from sheet to sheet if meets criteria | Excel Discussion (Misc queries) | |||
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. | Excel Discussion (Misc queries) | |||
For Tom Ogilvy re Copy Sheet Problem | Excel Programming | |||
Copy Sheet Problem | Excel Programming |