Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Printing PDF's

I have 3 worksheets, each with watermarked names already where I want them to
appear. In a 4th worksheet, I have the names listed of the people I want to
be watermarked in each sheet. I have my print macro working fine which is
shown below. How would I be able to alter this to be able to print my
worksheets with the watermarked names to PDF??? Thanks in advance.

Sub Print_xxx_to_printer()
Dim iStart As Integer
Dim person As String

iStart = 8
person = Worksheets("Watermark").Range("F" & iStart).Value
Do While person < ""
Worksheets("Watermark").Range("B4") = person
Worksheets("Data 1 Sheet").Select
ActiveSheet.Shapes("WordArt 17876").Select
Selection.ShapeRange.TextEffect.Text = person
ActiveSheet.Shapes("WordArt 17877").Select
Selection.ShapeRange.TextEffect.Text = person
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Worksheets("Data2 Sheet").Activate
ActiveSheet.Shapes("WordArt 26").Select
Selection.ShapeRange.TextEffect.Text = person
ActiveSheet.Shapes("WordArt 27").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Worksheets("Data3 Sheet").Activate
ActiveSheet.Shapes("WordArt 25").Select
Selection.ShapeRange.TextEffect.Text = person
ActiveSheet.Shapes("WordArt 26").Select
Selection.ShapeRange.TextEffect.Text = person
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
iStart = iStart + 1
person = Worksheets("Watermark").Range("F" & iStart).Value
Loop



 
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
Creating PDF's through VBA mcp201 Excel Discussion (Misc queries) 0 November 17th 08 03:14 PM
How do I hyperlink multiple pdf's into my excel spreadsheet Tim Excel Discussion (Misc queries) 0 October 19th 06 03:51 PM
Macro to create PDF's question joeyarsenault19 Excel Discussion (Misc queries) 1 July 15th 06 03:10 PM
Creating PDF's in Excel robin Excel Discussion (Misc queries) 7 May 10th 05 10:43 PM
Enable Double sided printing contiuously when printing multiple s. Lee Excel Discussion (Misc queries) 1 November 27th 04 01:58 AM


All times are GMT +1. The time now is 10:02 PM.

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"