Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2018, 02:20 PM
Alberto5501 Alberto5501 is offline Generate sequential numbers (preferably in thousands) Windows 7 64bit Generate sequential numbers (preferably in thousands) Office 2016
Novice
Generate sequential numbers (preferably in thousands)
 
Join Date: Nov 2018
Posts: 2
Alberto5501 is on a distinguished road
Exclamation Generate sequential numbers (preferably in thousands)

Hi




I'm trying to generate at least a thousand labels for my lab.



I'd need them to begin in "T2119", then "T2120" and so on. After "T9999" it should be "U0001" and so on. But let's just focus on the "T" sequence.



I tried to use the SEQ field but I can't seem to make it work. My labels seem to be ancient too , so I had to download the template from Avery, it's number is 4014. Even then, they print weirdly.


Is there a way to achieve this? Or, do I need to do in another kind of software?


Thanks!!
Al
Reply With Quote
  #2  
Old 11-07-2018, 03:24 PM
macropod's Avatar
macropod macropod is offline Generate sequential numbers (preferably in thousands) Windows 7 64bit Generate sequential numbers (preferably in thousands) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The simplest way would be to create an Excel workbook you can use as a mailmerge data source and configure your document for a label merge. The Excel workbook would have a heading in A1 (e.g. 'Label'), 20 in B1 and, in A2 & below, the formula:
=CHAR(INT((ROW()-2)/10000+B$1)+64)&TEXT(MOD(ROW()-2,10000),"0000")
This will start A2 at T0000. Copy the formula down to at least row 10001, to complete the 'T' series. You can continue copying down for the 'U' series, etc., if you want. Alternatively, once you've finished creating the 'T' series labels, you can change the 20 in B1 to 21, and so on.

Although the numbering series in Excel starts at T0000, you can tell the mailmerge to start from a different record. For example, to start at T2119, you'd tell the mailmerge to start from record 2120. For the mailmerge label basics, see: https://support.office.com/en-us/art...8-2e8dcf271252
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 11-07-2018, 05:54 PM
Guessed's Avatar
Guessed Guessed is offline Generate sequential numbers (preferably in thousands) Windows 10 Generate sequential numbers (preferably in thousands) Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would do it with Seq fields
First entry = T{Seq T \r 2119}
Thereafter = T{Seq T}
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #4  
Old 11-07-2018, 08:59 PM
gmayor's Avatar
gmayor gmayor is offline Generate sequential numbers (preferably in thousands) Windows 10 Generate sequential numbers (preferably in thousands) Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

See https://www.gmayor.com/Numbered_labels.htm and https://www.gmayor.com/NumberLabels.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #5  
Old 11-09-2018, 07:20 AM
Alberto5501 Alberto5501 is offline Generate sequential numbers (preferably in thousands) Windows 7 64bit Generate sequential numbers (preferably in thousands) Office 2016
Novice
Generate sequential numbers (preferably in thousands)
 
Join Date: Nov 2018
Posts: 2
Alberto5501 is on a distinguished road
Default

Thank you for all your responses. I managed to get the SEQ field to work at home, but couldn't replicate this at my office


Tried to run the add-on that gmayor suggested, but guess what? I get an error and I don't have admin privileges on this computer, so I didn't even tried to fix it.


The formula provided by macropod works like a charm.


Thank you for all your help!
Reply With Quote
Reply

Tags
number, seq, sequential



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me create a button to generate an ascending sequential reference number on a worksheet Blue Owl Excel Programming 1 05-24-2018 05:01 PM
Generate sequential numbers (preferably in thousands) Flyers with sequential numbers trebor58 Mail Merge 2 10-25-2017 12:53 PM
Generate sequential numbers (preferably in thousands) Generate sequential code tags ssarank Word VBA 3 12-25-2013 02:44 AM
Randomly generate numbers, Macro? Jamtart PowerPoint 30 08-15-2012 10:55 AM
Generate sequential numbers (preferably in thousands) Decimal alignment of numbers that use blank space as a thousands separator Aston Word 1 07-24-2012 11:44 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:58 AM.


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