表复制移动空白或错误

Microsoft Excel 2013(15.0.4675.1000)32位

当试图移动或复制我的一张纸时,无论是否在同一个工作簿中,我都会得到名为Sheet1 Sheet2的空白纸张等。

当试图用VBA以编程方式执行相同的事情时:

Sheets("Invoice").Select Sheets("Invoice").Copy Before:=Sheets(1) 

我也得到错误Run time Error 1004: Method Copy of class Worksheet failed这经常发生,每次在不同的工作表上。

也许是因为表单上有很多定义的范围?

我尝试保存并复制后closures工作簿,但吸吮。 工作簿的大小只有100Kb。

如果我尝试删除空白表格后创buildExcel将停止工作和崩溃。

这是一个Excel错误或什么?

这是附件

你能复制发票表吗?

在这种情况下,我认为“错误”可能是公平的(不会发生在我身上,但是我还没有尝试使用您的文件,因为这需要注册)。 MS有一个解决方法在这里,但它似乎至less非常类似于你所尝试的。

其他build议包括(来自WebmasterFacts ):

 You need to stop all the programs that are running currently through Task manager Now go the start menu and you will find control panel over there Locate Add/ remove programs in there Now look for 'Microsoft Works' When you find it, go ahead and remove it and you are good to go 

扫描整个系统是很重要的没收各种恶意软件,损坏的文件,病毒等,清理完成后,你必须修复Windowsregistry与修复工具可用于registry。 现在,当你完成了这一切,你将能够最终摆脱运行时错误1004。

替代方法

 Right click on the start menu You will find Explore option, select that Once in there you need to open this directory – C:\Program Files\MSOffice\Office\XLSTART Here you need to delete “GWXL97.XLA” file Now open the excel after you have closed the explorer Your Excel will be running fine without giving any runtime error 1004. 

我明白了你的意思,因为excel表格是用Sheet-1复制空的,名字是你要复制的表格的名称是30或31个字符,Excel不接受任何超过31个字符的表格,所以这是为什么它不能被正确复制,请减less表单的名称,然后尝试,我相信您将能够将表单复制到其他位置。