Hi,
I have been trying to copy an excel sheet to another excel sheet through VBA macro. I am new to this macro concept. Currently I have using Ms-Excel 2004 in MAC.
Below is the code that I wanted it to execute but it is showing some problem i.e Run Time Error 9 subscript out of range'
/*****Start of Code******/
Sub Mover2()
ActiveSheet.Move Before:=Workbooks("/Users/jibanendu/desktop/abc.xls").Sheets(1)
'Moves active sheet to beginning of named workbook.
'Replace Test.xls with the full name of the target workbook you want.
End Sub
/*****End of Code******/
Please guide me through and help me out to resolve this error,cause I am in serious need of this.
Thanx in advance,
Jibanendu
I have been trying to copy an excel sheet to another excel sheet through VBA macro. I am new to this macro concept. Currently I have using Ms-Excel 2004 in MAC.
Below is the code that I wanted it to execute but it is showing some problem i.e Run Time Error 9 subscript out of range'
/*****Start of Code******/
Sub Mover2()
ActiveSheet.Move Before:=Workbooks("/Users/jibanendu/desktop/abc.xls").Sheets(1)
'Moves active sheet to beginning of named workbook.
'Replace Test.xls with the full name of the target workbook you want.
End Sub
/*****End of Code******/
Please guide me through and help me out to resolve this error,cause I am in serious need of this.
Thanx in advance,
Jibanendu