Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I create labels of spreadsheets/worksheets?

I need labels including the names of the spreadsheet.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 209
Default How do I create labels of spreadsheets/worksheets?

I THINK you want to create printed AVERY type labels for each worksheet for
file folders????
If so...
1) Create a blank worksheet in the workbook that you want the labels for.
2) The macro below [MakeWkstLabels] will create a list of the worksheets in
your workbook and adjust for printing to an Avery Label 5066 or Avery label
5266...
'/============================/
Sub MakeWkstLabels()
'NOTES
'72 points = 1 inch
'Excel printing uses 71 points
'Avery Label for File Folders are
' label #s 5066 and 5266
'Avery Labels 5066 & 5266 are
' .54 inches high
'Therefore, .54/71 = row height of 38.34
'---------------
Dim wks As Worksheet

'add a blank sheet
Sheets.Add

For Each wks In Worksheets
With ActiveCell
'put worksheet name in cell
.Value = wks.Name
'adj row height for Avery Labels
.Rows("1:1").RowHeight = 38.34
'Center the worksheet name horizontally
.HorizontalAlignment = xlCenter
'Center the worksheet name vertically
.VerticalAlignment = xlCenter
'go to the next cell and repeat process
.Offset(1, 0).Activate
End With
Next wks

'fit the column width to the worksheet names
Columns("A:A").EntireColumn.AutoFit

End Sub
'/============================/

3) Put your Avery Labels in the printer
4) Print

--
Hope this helps.
Thanks in advance for your feedback.
Gary Brown


"Lidia" wrote:

I need labels including the names of the spreadsheet.

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 create labels so, could only move and type in labels only kloniki Excel Discussion (Misc queries) 1 April 12th 08 06:04 AM
Create Labels from within Excel [email protected] Excel Discussion (Misc queries) 0 November 20th 07 12:09 PM
How to create adress list so can mail merge and create labels? adecocq Excel Discussion (Misc queries) 2 October 25th 06 12:32 AM
how to create spreadsheets dropshot Excel Worksheet Functions 2 January 31st 05 06:59 PM
Why do some of my spreadsheets create 2 copies of itself? woodsie2523 Excel Discussion (Misc queries) 1 January 26th 05 04:18 PM


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

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"