#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PH NEWS
 
Posts: n/a
Default Labels

Hi All,

I have a large data-base of names and addresses, it's about 5000 rows strong
and spreads over to column M.
I would like to be able to pick one/several row number(s) and for excel to
produce a mailing label format. Is this possible? I don't want to go through
the hassle of mail merging, so is there another way?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett
 
Posts: n/a
Default Labels

Here is a double_click worksheet event that I have used in the past. It
fills in the addresses on a envelope for mailing. Perhaps the idea will
help.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
If Target.Column = 1 Then
If ActiveCell.Offset(0, 2) < "" Then
Title = ActiveCell.Offset(0, 2)
Else
Title = ""
End If
If ActiveCell.Offset(0, 1) < "" Then
FirstName = ActiveCell.Offset(0, 1) & " "
Else
FirstName = ""
End If
LastName = ActiveCell
ADDRESSEE = Application.Proper(Title + FirstName + LastName)
[envelope!c6] = ADDRESSEE
[envelope!c7] = ActiveCell.Offset(0, 3)
[envelope!c8] = ActiveCell.Offset(0, 4)
[envelope!c9] = ActiveCell.Offset(0, 5)
Sheets("envelope").Select
End If
End Sub

--
Don Guillett
SalesAid Software

"PH NEWS" wrote in message
...
Hi All,

I have a large data-base of names and addresses, it's about 5000 rows
strong
and spreads over to column M.
I would like to be able to pick one/several row number(s) and for excel to
produce a mailing label format. Is this possible? I don't want to go
through
the hassle of mail merging, so is there another way?




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PH NEWS
 
Posts: n/a
Default Labels

Thanks, but I'm a bit lost in all that. I'm not experience in VB and don't
understand how that works. Do I need to have certain headings?
"Don Guillett" wrote in message
...
Here is a double_click worksheet event that I have used in the past. It
fills in the addresses on a envelope for mailing. Perhaps the idea will
help.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
If Target.Column = 1 Then
If ActiveCell.Offset(0, 2) < "" Then
Title = ActiveCell.Offset(0, 2)
Else
Title = ""
End If
If ActiveCell.Offset(0, 1) < "" Then
FirstName = ActiveCell.Offset(0, 1) & " "
Else
FirstName = ""
End If
LastName = ActiveCell
ADDRESSEE = Application.Proper(Title + FirstName + LastName)
[envelope!c6] = ADDRESSEE
[envelope!c7] = ActiveCell.Offset(0, 3)
[envelope!c8] = ActiveCell.Offset(0, 4)
[envelope!c9] = ActiveCell.Offset(0, 5)
Sheets("envelope").Select
End If
End Sub

--
Don Guillett
SalesAid Software

"PH NEWS" wrote in message
...
Hi All,

I have a large data-base of names and addresses, it's about 5000 rows
strong
and spreads over to column M.
I would like to be able to pick one/several row number(s) and for excel

to
produce a mailing label format. Is this possible? I don't want to go
through
the hassle of mail merging, so is there another way?






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
Charts - Align value & category data labels independently Stuart Bratesman Charts and Charting in Excel 1 February 2nd 06 06:20 PM
Excel2003: Axis labels are truncated David Burr Charts and Charting in Excel 2 October 31st 05 10:31 PM
Pivot Table - 'Merge Labels' option and formatting Jeff Borden Excel Worksheet Functions 0 September 12th 05 07:59 PM
XL Chart: Separately align series and value data labels Stuart Bratesman Charts and Charting in Excel 3 August 10th 05 11:07 PM
Can tick mark labels be flipped about axis? [email protected] Charts and Charting in Excel 1 July 20th 05 05:03 PM


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