Hi guys,
Can someone help me how I want to make this codes more shorter? which is I can apply this code in all sheets in open workbook? For workbook that have only 29 sheets is still ok for me, but after this I will have 63 sheets every workbook.
I had found this code, but it's not work for me
I don't understand what "For I = 1 To WS_Count" means.
This my code I'm using now.
I'm really appreciate, if someone can help me. THANK YOU
Can someone help me how I want to make this codes more shorter? which is I can apply this code in all sheets in open workbook? For workbook that have only 29 sheets is still ok for me, but after this I will have 63 sheets every workbook.
I had found this code, but it's not work for me

I don't understand what "For I = 1 To WS_Count" means.
Code:
Dim WS_Count As Integer
Dim I As Integer
' Set WS_Count equal to the number of worksheets in the active
' workbook.
WS_Count = ActiveWorkbook.Worksheets.Count
' Begin the loop.
For I = 1 To WS_Count
' Insert your code here.
' The following line shows how to reference a sheet within
' the loop by displaying the worksheet name in a dialog box.
MsgBox ActiveWorkbook.Worksheets(I).Name
Next I
End Sub
This my code I'm using now.
Code:
Sub Date_Copy_Paste()'
' Date_Copy_Paste Macro
'
'
Sheets("Sheet1").Select
Columns("A:A").Select
Selection.Copy
On Error Resume Next
Sheets("0001").Select
If Err = 0 Then
Range("A1").Select
ActiveSheet.Paste
Else
Err.Clear
On Error GoTo 0
End If
Sheets("0002").Select
ActiveSheet.Paste
Sheets("0003").Select
ActiveSheet.Paste
Sheets("0004").Select
ActiveSheet.Paste
Sheets("0005").Select
ActiveSheet.Paste
Sheets("0006").Select
ActiveSheet.Paste
Sheets("0007").Select
ActiveSheet.Paste
Sheets("0008").Select
ActiveSheet.Paste
Sheets("0009").Select
ActiveSheet.Paste
Sheets("0010").Select
ActiveSheet.Paste
Sheets("0011").Select
ActiveSheet.Paste
Sheets("0012").Select
ActiveSheet.Paste
Sheets("0013").Select
ActiveSheet.Paste
Sheets("0014").Select
ActiveSheet.Paste
Sheets("0015").Select
Range("A1").Select
ActiveSheet.Paste
Sheets("0016").Select
ActiveSheet.Paste
Sheets("0017").Select
ActiveSheet.Paste
Sheets("0018").Select
ActiveSheet.Paste
Sheets("0019").Select
ActiveSheet.Paste
Sheets("0020").Select
ActiveSheet.Paste
Sheets("0021").Select
ActiveSheet.Paste
Sheets("0022").Select
ActiveSheet.Paste
Sheets("0023").Select
ActiveSheet.Paste
Sheets("0024").Select
ActiveSheet.Paste
Sheets("0025").Select
ActiveSheet.Paste
Sheets("0026").Select
ActiveSheet.Paste
Sheets("0027").Select
ActiveSheet.Paste
Sheets("0028").Select
ActiveSheet.Paste
Sheets("0029").Select
ActiveSheet.Paste
ActiveWorkbook.Save
End Sub
I'm really appreciate, if someone can help me. THANK YOU