Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default printing the list of wroksheets in a workbook

How can I list and print a list of worksheets in a workbook?


  #2   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default printing the list of wroksheets in a workbook

Hi

Copy the function below into VBA module

Public Function TabByIndex(TabIndex As Integer) As String
Application.Volatile
TabByIndex = Sheets(TabIndex).Name
End Function


Into A1 enter the formula
=IF(ISERROR(TABBYINDEX(ROW())),"",TABBYINDEX(ROW() ))
and copy down.


--
Arvi Laanemets
(When sending e-mail, use address arvil<Attarkon.ee)


"D@annyBoy" wrote in message
...
How can I list and print a list of worksheets in a workbook?




  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default printing the list of wroksheets in a workbook

thanks
works like a charm


"Arvi Laanemets" wrote in message
...
Hi

Copy the function below into VBA module

Public Function TabByIndex(TabIndex As Integer) As String
Application.Volatile
TabByIndex = Sheets(TabIndex).Name
End Function


Into A1 enter the formula
=IF(ISERROR(TABBYINDEX(ROW())),"",TABBYINDEX(ROW() ))
and copy down.


--
Arvi Laanemets
(When sending e-mail, use address arvil<Attarkon.ee)


"D@annyBoy" wrote in message
...
How can I list and print a list of worksheets in a workbook?






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
HELP: Use the autofilter result on one workbook to filter the next list on another workbook Kathy Houtami Excel Worksheet Functions 6 September 11th 07 05:29 AM
Printing a list of all links in a workbook netproj Excel Discussion (Misc queries) 1 March 9th 06 12:13 AM
Printing Workbook Jackie Osterman Excel Discussion (Misc queries) 1 January 5th 06 01:46 AM
problem copying excel wroksheets Paul Townley Excel Discussion (Misc queries) 1 April 6th 05 06:29 PM
printing the list of wroksheets in a workbook D@annyBoy Excel Worksheet Functions 3 December 3rd 04 10:15 AM


All times are GMT +1. The time now is 01:33 AM.

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

About Us

"It's about Microsoft Excel"