Hi All,
I have 2 workbooks.
1. Workbook name OldDataBase.xls
2. Workbook name Result DataBase.xls (This workbook is share workbook)
OldDatabase.xls contain a short Macro as following.
Sub AddNewDatabase()
Sheets("DataBase 2005").Select
Sheets("DataBase 2005").Copy After:=Workbooks( _
"Result DataBase.xls").Sheets(1)
End Sub
The propose is to move sheet Database 2005 from OldDataBase.xls to Result Database.xls
But I found run time error '1004' said
'This command is not available in a shared workbook'
Please suggest me , how can I solve this problem ?
I have 2 workbooks.
1. Workbook name OldDataBase.xls
2. Workbook name Result DataBase.xls (This workbook is share workbook)
OldDatabase.xls contain a short Macro as following.
Sub AddNewDatabase()
Sheets("DataBase 2005").Select
Sheets("DataBase 2005").Copy After:=Workbooks( _
"Result DataBase.xls").Sheets(1)
End Sub
The propose is to move sheet Database 2005 from OldDataBase.xls to Result Database.xls
But I found run time error '1004' said
'This command is not available in a shared workbook'
Please suggest me , how can I solve this problem ?