Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I was pointed to this macro:
Public Function AllSheetNames() Dim Arr() As String Dim I As Integer ReDim Arr(Sheets.Count - 1) For I = 0 To Sheets.Count - 1 Arr(I) = Sheets(I + 1).Name Next I AllSheetNames = Arr ' return a row array OR AllSheetNames = Application.WorksheetFunction.Transpose(Arr) ' return a column array End Function I can't seem to get it to work in my workbook. Can someone walk me through the steps. Thank you in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Average function question | Excel Worksheet Functions | |||
NOW function question | Excel Worksheet Functions | |||
numerical integration | Excel Discussion (Misc queries) | |||
clock | Excel Worksheet Functions | |||
Dynamic Function Reference Question | Excel Discussion (Misc queries) |