Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-02-2015, 02:58 AM
paltser paltser is offline Windows 7 32bit Office 2013
Novice
New number after every print
 
Join Date: Dec 2015
Posts: 5
paltser is on a distinguished road
Default New number after every print

Hey



I am trying to make macro wicth chanse number after every printed page.
In must to be able to start how many copys i want and starting number.

Code:
Sub PrintCopies_ActiveSheet()

 Dim CopiesCount As Long
 Dim copynumber As Long
 Dim algusnumber As Long

 CopiesCount = Application.InputBox("How many copies do you want?", Type:=1)
 algusnumber = Application.InputBox("First number", Type:=1)

 For copynumber = algusnumber To CopiesCount
 With ActiveSheet
    .Range("B1").Value = copynumber
    .PrintOut
 End With
 Next copynumber
 End Sub

that dosnˇt work...:S
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
New number after every print New number after every print paltser Word 7 12-02-2015 07:46 AM
New number after every print Page number only at print krigre Excel 1 06-10-2015 03:59 AM
Page number is set outside print area sgp22 Word 2 06-18-2014 11:06 AM
New number after every print Increase serial number for every print atomtm Word 1 06-15-2012 05:39 AM
I don't want to print the Number colume lostsoul62 Excel 5 06-14-2012 08:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft