Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a very simple piece of code (extract below), that copies the
contents from SheetA to SheetB, but I am getting a debug of "Copy method of Range Class failed" on the line - Slection.Copy below I can't see how my code could be any simpler and hence why the error Hope someone can assist Sub Report() Application.ScreenUpdating = False ActiveWindow.DisplayWorkbookTabs = False Sheets("SheetA").Activate ActiveSheet.Unprotect Password:="123" Range("A1").Select Sheets("SheetB").Visible = True Sheets("SheetB").Activate ActiveSheet.Unprotect Password:="123" Sheets("SheetA").Activate Cells.Select Selection.Copy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Line copy - Not just a simple copy paste | Excel Worksheet Functions | |||
Simple Copy/Paste Question | Excel Programming | |||
Simple Copy and Paste | Excel Programming | |||
Simple Copy & Paste | Excel Programming | |||
Simple copy and paste | Excel Programming |