PC Review


Reply
Thread Tools Rate Thread

Code to Print single cells

 
 
ianmacinnis@gmail.com
Guest
Posts: n/a
 
      13th Sep 2007
I need help with code to print single cells?? We have a spreadsheet
with bar codes and need to print them on labels with one bar code per
label.

Thanks

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      13th Sep 2007
Look this up in Excel Help files. It might get you started in the right
direction.

"Print labels by using Excel data in a Word mail merge"



"(E-Mail Removed)" wrote:

> I need help with code to print single cells?? We have a spreadsheet
> with bar codes and need to print them on labels with one bar code per
> label.
>
> Thanks
>
>

 
Reply With Quote
 
=?Utf-8?B?RlN0MQ==?=
Guest
Posts: n/a
 
      13th Sep 2007
hi,
try something like this
Sub Printcell()

Dim s As String

s = ActiveCell.Address
Application.DisplayAlerts = False
ActiveSheet.PageSetup.PrintArea = s
ActiveWindow.SelectedSheets.PrintPreview
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Application.DisplayAlerts = True
End Sub

regards
FSt1

"(E-Mail Removed)" wrote:

> I need help with code to print single cells?? We have a spreadsheet
> with bar codes and need to print them on labels with one bar code per
> label.
>
> Thanks
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing single pages from multiple worksheets in a single print job alwaysboard@gmail.com Microsoft Excel Misc 2 27th Apr 2007 06:11 PM
Copy column range of "single word" cells with spaces to a single c =?Utf-8?B?bmFzdGVjaA==?= Microsoft Excel Misc 3 15th Feb 2006 05:04 PM
Validating field within print single record code =?Utf-8?B?S2FybCBI?= Microsoft Access 1 6th Nov 2005 06:00 PM
RE: Validating field within print single record code =?Utf-8?B?T2Zlcg==?= Microsoft Access 0 6th Nov 2005 03:43 PM
Pasting single cells from Word to multiple cells in Excel =?Utf-8?B?QVNCaXNz?= Microsoft Excel Worksheet Functions 1 15th Feb 2005 11:47 AM


Features
 

Advertising
 

Newsgroups
 


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