Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mia Mia is offline
external usenet poster
 
Posts: 101
Default Prining with features (staples)

Hello,

I´m trying to program my printing function to chose staple but I don´t
know how to do it. I also want to print on both sides.

Can any one help me? I´l be wery grateful!

BR
Mia


My code so fas is (It´s a loop)


Sub Spara()
'
' Spara Makro
' Makrot inspelat 2006-11-28 av Mia
'
Dim Start As Integer
Dim Stopp As Integer
Dim SkrivUt As String
Sheets("Kunddata").Select
Start = Range("C10").Value
Stopp = Range("C11").Value

For i = Start To Stopp
Sheets("Kunddata").Select
Range("D12").Value = i
SkrivUt = Range("D12").Value
If SkrivUt = "S" Then

Sheets("Faktura").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
End If
Next

End Sub
Sub Skrivfaktura()
'
' Skriv Makro
' Makrot inspelat 2006-11-28 av Mia


Dim Start As Integer
Dim Stopp As Integer
Dim SkrivUt As String
Sheets("Kunddata").Select
Start = Range("C10").Value
Stopp = Range("C11").Value

For i = Start To Stopp
Sheets("Kunddata").Select
Range("C12").Value = i
SkrivUt = Range("F12").Value
If SkrivUt = "S" Then

Sheets("Faktura").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
End If
Next
Sheets("Kunddata").Select
End Sub

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
Features greyed out Terry Pinnell Excel Discussion (Misc queries) 1 September 20th 08 11:45 AM
Prining Graph Templar Excel Discussion (Misc queries) 0 January 7th 08 10:11 AM
excel background prining DDAANN Setting up and Configuration of Excel 4 July 10th 07 10:40 PM
Prining Options The Rook[_2_] Excel Discussion (Misc queries) 1 March 1st 07 12:59 PM
Security Features? Catlady Excel Discussion (Misc queries) 0 August 7th 06 03:41 PM


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