justme1122
New Member
- Joined
- Mar 6, 2011
- Messages
- 47
Hi guys
I have this code that lists the titles of all worksheets. Any idea's on how to make it out put to a row unstead of a colum.
Thanks for your time
Scott
I have this code that lists the titles of all worksheets. Any idea's on how to make it out put to a row unstead of a colum.
PHP:
Sub C_BuildIndex_Click()
Dim i As Long
Sheets("data").Select
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For i = 3 To Worksheets.Count
Application.StatusBar = Format(100 * i / Worksheets.Count, "0.0") & "% done..."
Range("A" & i + 0) = Sheets(i).Name
Next
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
Application.StatusBar = False
End Sub
Thanks for your time
Scott