Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Export the Contents list in `File Properties´ box

How can one export or save the Contents list (on the `Contents´ tab)
of the File Properties box? I have dozens of DATA and Chart worksheets
present and would like to export for an `index´.

-G

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Export the Contents list in `File Properties´ box

Gregory

If you want a list of the worksheets and chartsheets in a workbook............

Insert a new sheet then run this macro.

Private Sub ListSheets()
'list of sheet names starting at A1
Dim rng As Range
Dim i As Integer
Set rng = Range("A1")
For Each Sheet In ActiveWorkbook.Sheets
rng.Offset(i, 0).Value = Sheet.Name
i = i + 1
Next Sheet
End Sub


Gord Dibben MS Excel MVP


On 12 Feb 2007 11:32:45 -0800, "Gregory" wrote:

How can one export or save the Contents list (on the `Contents´ tab)
of the File Properties box? I have dozens of DATA and Chart worksheets
present and would like to export for an `index´.

-G


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Export the Contents list in `File Properties´ box


Thanks.. now I must read HELP file on how to implement the macro
code. :))

-Gregory

On Feb 12, 3:17 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Gregory
If you want a list of the worksheets and chartsheets in a workbook...
Insert a new sheet then run this macro.

Private Sub ListSheets()
'list of sheet names starting at A1
Dim rng As Range
Dim i As Integer
Set rng = Range("A1")
For Each Sheet In ActiveWorkbook.Sheets
rng.Offset(i, 0).Value = Sheet.Name
i = i + 1
Next Sheet
End Sub

Gord Dibben MS Excel MVP

On 12 Feb 2007 11:32:45 -0800, "Gregory" wrote:



How can one export or save the Contents list (on the `Contents´ tab)
of the File Properties box? I have dozens of DATA and Chart worksheets
present and would like to export for an `index´.


-G- Hide quoted text -


- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Export the Contents list in `File Properties´ box

Sorry about that Gregory. I usually post this along with the code but too much
hurry this AM

If not familiar with VBA and macros, see David McRitchie's site for more on
"getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + r to open Project Explorer.

Find your workbook/project and select it.

Right-click and InsertModule. Paste the code in there. Save the
workbook and hit ALT + Q to return to your workbook.

Run the macro by going to ToolMacroMacros.

You can also assign this macro to a button or a shortcut key combo.


Gord

On 12 Feb 2007 13:59:14 -0800, "Gregory" wrote:


Thanks.. now I must read HELP file on how to implement the macro
code. :))

-Gregory

On Feb 12, 3:17 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Gregory
If you want a list of the worksheets and chartsheets in a workbook...
Insert a new sheet then run this macro.

Private Sub ListSheets()
'list of sheet names starting at A1
Dim rng As Range
Dim i As Integer
Set rng = Range("A1")
For Each Sheet In ActiveWorkbook.Sheets
rng.Offset(i, 0).Value = Sheet.Name
i = i + 1
Next Sheet
End Sub

Gord Dibben MS Excel MVP

On 12 Feb 2007 11:32:45 -0800, "Gregory" wrote:



How can one export or save the Contents list (on the `Contents´ tab)
of the File Properties box? I have dozens of DATA and Chart worksheets
present and would like to export for an `index´.


-G- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Export the Contents list in `File Properties´ box

On Feb 12, 6:29 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Sorry about thatGregory. I usually post this along with the code but too much
hurry this AM

If not familiar with VBA and macros, see David McRitchie's site for more on
"getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + r to open Project Explorer.

Find your workbook/project and select it.

Right-click and InsertModule. Paste the code in there. Save the
workbook and hit ALT + Q to return to your workbook.

Run the macro by going to ToolMacroMacros.

You can also assign this macro to a button or a shortcut key combo.

Gord

On 12 Feb 2007 13:59:14 -0800, "Gregory" wrote:





Thanks.. now I must read HELP file on how to implement the macro
code. :))


-Gregory


On Feb 12, 3:17 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Gregory
If you want a list of the worksheets and chartsheets in a workbook...
Insert a new sheet then run this macro.


Private Sub ListSheets()
'list of sheet names starting at A1
Dim rng As Range
Dim i As Integer
Set rng = Range("A1")
For Each Sheet In ActiveWorkbook.Sheets
rng.Offset(i, 0).Value = Sheet.Name
i = i + 1
Next Sheet
End Sub


Gord Dibben MS Excel MVP


On 12 Feb 2007 11:32:45 -0800, "Gregory" wrote:


How can one export or save the Contents list (on the `Contents´ tab)
of the File Properties box? I have dozens of DATA and Chart worksheets
present and would like to export for an `index´.


-G


Hi.. and thank for this info.

I followed it `to the letter´ however the Macro doesn't show up
ANYWHERE in the Macro list when trying to run it. There doesn't seem
to be any syntax errors and the security is set to medium. It should
be easier that this!! :))

Please advise...

-Gregory




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I export the contents of autoshapes to a text file? Donncha Excel Discussion (Misc queries) 1 July 20th 06 07:44 AM
List File Properties - Author SS Excel Worksheet Functions 1 June 23rd 06 04:56 PM
How do I print the Excel File Properties Contents screen? Gail Chiarello Excel Discussion (Misc queries) 1 August 2nd 05 08:51 PM
Export TextBox contents to new workbook. Andy Tallent Excel Discussion (Misc queries) 0 February 22nd 05 01:49 PM
export excel file to outlook express contact list gebhardt family New Users to Excel 0 January 20th 05 11:59 PM


All times are GMT +1. The time now is 06:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"