Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default CREATING LABELS FROM 1 RANGE OF DATA

I have a data range like the one here but with hundreds of columns and rows
and I would like to be able to print the relevant items for each person onto
a label so they can be order picked and packed for that person and the their
label stuck on their clothing bag something like below,
P Smith J Jones C Henderson
Polo shirt 2 lge 3 medium 3 small
sweatshirt 1 lge 5 medium 4 small
boots size 10 size 8
trousers 32 regular 36 short 40 tall

P SMITH

Polo Shirt 2 lge
Sweatshirt 1 lge
boots size 10
trousers 32 regular






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default CREATING LABELS FROM 1 RANGE OF DATA

Which you can easily do in a macro such as

Sub PrintSelected()
Dim rng As Range

On Error Resume Next
Set rng = Application.InputBox("Select the column to print", Type:=8)
On Error GoTo 0
If Not rng Is Nothing Then
Columns("B:AZ").Hidden = True
rng.EntireColumn.Hidden = False
ActiveSheet.PrintPreview
Columns("B:AZ").Hidden = False
End If

End Sub

You just select the cell with the name you want to print when prompted, and
then the macro takes care of hiding and unhiding.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tom Ogilvy" wrote in message
...
Hide all columns but the first column and the column you want to print,

then
print, go to the next column and repeat.

--
Regards,
Tom Ogilvy

"John Boland" <John wrote in message
...
I have a data range like the one here but with hundreds of columns and

rows
and I would like to be able to print the relevant items for each person

onto
a label so they can be order picked and packed for that person and the

their
label stuck on their clothing bag something like below,
P Smith J Jones C Henderson
Polo shirt 2 lge 3 medium 3 small
sweatshirt 1 lge 5 medium 4 small
boots size 10 size 8
trousers 32 regular 36 short 40 tall

P SMITH

Polo Shirt 2 lge
Sweatshirt 1 lge
boots size 10
trousers 32 regular










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
Have Linked Data Labels Adapt for an Expanded Range [email protected] Charts and Charting in Excel 1 July 24th 09 10:49 PM
insert data labels from range not used in chart doctor bm Charts and Charting in Excel 1 March 6th 06 03:49 PM
Can I use named range in data range box when creating pie chart? BJackson Charts and Charting in Excel 2 August 17th 05 05:37 PM
Excel charts should let me select a range for data labels. Relmbo Charts and Charting in Excel 3 June 26th 05 02:33 PM
Is there a way of attaching data labels from a text range to dat. Peter Sailing by Charts and Charting in Excel 3 March 31st 05 02:25 PM


All times are GMT +1. The time now is 08:17 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"