#1   Report Post  
Junior Member
 
Posts: 22
Send a message via Skype™ to Bakar
Default unic no

Hi Everyone
I Have a user form for staff entry and i want to have a unic no automatically attribute to each staff member that i enter
\example
\cell B1 Name cell B1 surname Cell C1 Address-----up to cell G1 and in cell H1 automatically a number is generated

\thanks for ur usual help
Bakar

Last edited by Bakar : November 13th 12 at 04:28 PM Reason: Solved
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default unic no

Hi

In Cell H2 put this:

=IF($A2="","",1)

In Cell H3 put this:

=IF($A3="","",($H2+1)) then copy down as required.

HTH
Mick.
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



All times are GMT +1. The time now is 09:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"