Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-20-2013, 04:57 AM
niton niton is offline message unique number Windows 7 64bit message unique number Office 2010 64bit
Competent Performer
 
Join Date: Jul 2012
Posts: 102
niton is on a distinguished road
Default

You can find third party software.
e.g. Bells & Whistles - http://www.emailaddressmanager.com/o.../tracking.html

You could try some VBA. This is the tricky part that generates the unique number.
http://www.vboffice.net/sample.html?...5&cmd=showitem
Code:
Public Function GetNextID() As Long
  Dim lCurrID As Long
  Dim File As String

  File = "C:\Sample.txt"
  lCurrID = Val(ReadFile(File))
  lCurrID = lCurrID + 1
  WriteFile File, CStr(lCurrID), False
  GetNextID = lCurrID
End Function
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Labeling sequential forms with a unique number krau0231 Word 1 10-18-2012 03:33 PM
'Auto' fields, I want to create a unique ID... kateattat Word 7 07-10-2012 05:10 AM
message unique number generate unique number on same document when printed benjii19 Word 1 03-08-2011 12:38 AM
message unique number creating unique numbers in excel bignick270 Excel 1 05-17-2009 05:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:06 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