|
-
Sep 11th, 2009, 12:26 PM
#1
Thread Starter
New Member
Refer to Workbook by Index Number
I want to refer to several workbooks, named from 1 to 10 (for example). I don´t know if it´s possible to do something like refering to workbooks (like refering to sheets) with an Index number. Something like this:
Sub ReferWorkbook()
'
For k = 1 To 10
Worksheets(k).Activate
Sheets("Sheet1").Select
Selection.Copy
Sheets("Sheet2").Select
ActiveSheet.Paste
Next k
End Sub
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|