#1
|
|||
|
|||
Count the Prints
we have a word document, people take prints of the data we have in this document. we would like to count the number of prints taken for the sheet in footer. first print would be 1, if one more print taken it will add into it and the counter would be increased.
|
#2
|
||||
|
||||
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
||||
|
||||
You need to think about where the 'number of prints' gets stored. It appears Graham's addin saves the number in the template itself. This would work brilliantly if only one person does the printing but it won't be much use if prints can be made from many machines by many users.
If your users always access the same template from a network location then you could conceivably allow store the incrementing number in that template. However, for this to work, every user would need read/write access to the template and problems might arise if multiple users access it at the same time or someone damages the template in some way. A more robust solution would be to store the 'number' in a separate file/database somewhere on the network where everyone has read/write access. You can then make the template read-only on the network or put copies on every machine but in either case, the template(s) would access the number store in just one central location.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#4
|
|||
|
|||
can we achieve this through a code.
|
#5
|
||||
|
||||
The web page I referred also shows how to insert a number from a text file. As long as the users have access to that file location, you can use that code to insert the numbers.
The issue here is whether you are planning to store a running number that applies to all, or whether you want a numbered print run - which latter option the add-in will do. If the former, then you are going to have to store the incrementing number somewhere that everyone can access. The add-in as Andrew indicates stores the number in the add-in itself, so applies only to who has access to that add-in.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting the Count formula to count all rows | Jennifer Murphy | Word Tables | 11 | 08-23-2016 09:37 PM |
Tracking Changes and actually showing them in prints | c991257 | Word | 2 | 03-25-2014 05:02 AM |
Word prints off page | Reddaddy | Word | 5 | 02-12-2014 05:05 PM |
Numbering labels prints | valeriab | Word VBA | 8 | 01-06-2014 06:11 AM |
word only prints pictures | AidyTy | Word | 0 | 12-15-2009 01:50 PM |